X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/961669d212a8da9dfe3d6f89e22e794b26f6aa0e..b5977d65e97f6fcfccddefedf619de4902e45d31:/cookbooks/nominatim/templates/default/settings.erb diff --git a/cookbooks/nominatim/templates/default/settings.erb b/cookbooks/nominatim/templates/default/settings.erb index 46b1b1a7d..ec627d6a5 100644 --- a/cookbooks/nominatim/templates/default/settings.erb +++ b/cookbooks/nominatim/templates/default/settings.erb @@ -2,12 +2,7 @@ # 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://<%= @base_url %>/'); -else - @define('CONST_Website_BaseURL', 'http://<%= @base_url %>/'); - -@define('CONST_Pyosmium_Binary', '/usr/local/bin/pyosmium-get-changes'); +@define('CONST_Website_BaseURL', 'https://<%= @base_url %>/'); <% if @flatnode_file -%> @define('CONST_Osm2pgsql_Flatnode_File', '<%= @flatnode_file %>');