-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');