2 # DO NOT EDIT - This file is being maintained by Chef
4 @define('CONST_Database_DSN', 'pgsql://@/<%= node[:nominatim][:database][:dbname] %>');
5 if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']))
6 @define('CONST_Website_BaseURL', 'https://nominatim.openstreetmap.org/');
8 @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/');
10 @define('CONST_Postgresql_Version', '<%= @postgres_version %>');
11 @define('CONST_Postgis_Version', '<%= node[:nominatim][:database][:postgis] %>');
13 @define('CONST_Osm2pgsql_Flatnode_File', '<%= node[:nominatim][:flatnode_file] %>');
14 @define('CONST_Search_NameOnlySearchFrequencyThreshold', 500);
16 <% node[:nominatim][:tablespaces].each do |part,name| -%>
17 @define('CONST_Tablespace_<%= part %>', '<%= name %>');
20 @define('CONST_Log_File', '<%= node[:nominatim][:logdir] %>/query.log');
21 @define('CONST_Log_DB', false);