]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/settings.erb
nominatim: enable updating of postcodes
[chef.git] / cookbooks / nominatim / templates / default / settings.erb
index 0e335c2e4cf123dc8f4c7aa69e46c3d4a0836201..46b1b1a7db5605057065e5eb8f51e0c102349b64 100644 (file)
@@ -3,9 +3,11 @@
 
 @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 %>/');
+
+@define('CONST_Pyosmium_Binary', '/usr/local/bin/pyosmium-get-changes');
 
 <% if @flatnode_file -%>
 @define('CONST_Osm2pgsql_Flatnode_File', '<%= @flatnode_file %>');