X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/22ce6c9831d4a7041f575a9de7f7ede3740cbf07..ca2e5d46228417b3996f8b0abda659a2f07a9047:/cookbooks/nominatim/templates/default/settings.erb diff --git a/cookbooks/nominatim/templates/default/settings.erb b/cookbooks/nominatim/templates/default/settings.erb index 0e335c2e4..afab0803e 100644 --- a/cookbooks/nominatim/templates/default/settings.erb +++ b/cookbooks/nominatim/templates/default/settings.erb @@ -3,9 +3,9 @@ @define('CONST_Database_DSN', 'pgsql://@/<%= @dbname %>'); if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS'])) - @define('CONST_Website_BaseURL', 'https://nominatim.openstreetmap.org/'); + @define('CONST_Website_BaseURL', 'https://<%= @base_url %>/'); else - @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/'); + @define('CONST_Website_BaseURL', 'http://<%= @base_url %>/'); <% if @flatnode_file -%> @define('CONST_Osm2pgsql_Flatnode_File', '<%= @flatnode_file %>');