# DO NOT EDIT - This file is being maintained by Chef
@define('CONST_Database_DSN', 'pgsql://@/<%= node[:nominatim][:database][:dbname] %>');
-@define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/');
+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_Postgresql_Version', '<%= @postgres_version %>');
+@define('CONST_Postgis_Version', '<%= node[:nominatim][:database][:postgis] %>');
+
+@define('CONST_Log_File', '/var/log/nominatim/query.log');