X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ca2e5d46228417b3996f8b0abda659a2f07a9047..32ff132f4a253c6a711ad490643b501d0692e78e:/cookbooks/nominatim/templates/default/settings.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/settings.erb b/cookbooks/nominatim/templates/default/settings.erb index afab0803e..3d042dfc1 100644 --- a/cookbooks/nominatim/templates/default/settings.erb +++ b/cookbooks/nominatim/templates/default/settings.erb @@ -1,17 +1,17 @@ '); -if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS'])) - @define('CONST_Website_BaseURL', 'https://<%= @base_url %>/'); -else - @define('CONST_Website_BaseURL', 'http://<%= @base_url %>/'); +@define('CONST_Database_DSN', 'pgsql:dbname=<%= @dbname %>'); +@define('CONST_Website_BaseURL', 'https://<%= @base_url %>/'); +@define('CONST_MapIcon_URL', 'https://<%= @base_url %>/ui/mapicons/'); <% if @flatnode_file -%> @define('CONST_Osm2pgsql_Flatnode_File', '<%= @flatnode_file %>'); <% end -%> @define('CONST_Search_NameOnlySearchFrequencyThreshold', 500); +@define('CONST_Import_Style', CONST_BasePath.'/settings/import-extratags.style'); + @define('CONST_Use_US_Tiger_Data', true); @define('CONST_Tablespace_Osm2pgsql_Data', 'dosm');