]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/settings.erb
nominatim: fix rights for restricted IP log
[chef.git] / cookbooks / nominatim / templates / default / settings.erb
index 89c6febcc4b1bd6fa50aeef93c6aa209967738da..454f56b5d267a340203329c0280e33da98dae438 100644 (file)
@@ -2,16 +2,17 @@
 # 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 %>/');
+
+@define('CONST_Pyosmium_Binary', '/usr/local/bin/pyosmium-get-changes');
 
 <% 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');