X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4670fb28130f0c5f6371ddc4932bf856725ee589..b5977d65e97f6fcfccddefedf619de4902e45d31:/cookbooks/nominatim/templates/default/settings.erb diff --git a/cookbooks/nominatim/templates/default/settings.erb b/cookbooks/nominatim/templates/default/settings.erb index 89c6febcc..ec627d6a5 100644 --- a/cookbooks/nominatim/templates/default/settings.erb +++ b/cookbooks/nominatim/templates/default/settings.erb @@ -2,16 +2,15 @@ # DO NOT EDIT - This file is being maintained by Chef @define('CONST_Database_DSN', 'pgsql://@/<%= @dbname %>'); -if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS'])) - @define('CONST_Website_BaseURL', 'https://nominatim.openstreetmap.org/'); -else - @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/'); +@define('CONST_Website_BaseURL', 'https://<%= @base_url %>/'); <% if @flatnode_file -%> @define('CONST_Osm2pgsql_Flatnode_File', '<%= @flatnode_file %>'); <% end -%> @define('CONST_Search_NameOnlySearchFrequencyThreshold', 500); +@define('CONST_Use_US_Tiger_Data', true); + @define('CONST_Tablespace_Osm2pgsql_Data', 'dosm'); @define('CONST_Tablespace_Osm2pgsql_Index', 'iosm'); @define('CONST_Tablespace_Place_Data', 'dplace');