]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/nominatim.erb
d36523d851df958af7ac82cae9d4ad2650e6a7d0
[chef.git] / cookbooks / nominatim / templates / default / nominatim.erb
1 <?php
2 # DO NOT EDIT - This file is being maintained by Chef
3
4 @define('CONST_Database_DSN', 'pgsql://@/<%= node[:nominatim][:database][:dbname] %>');
5 if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']))
6     @define('CONST_Website_BaseURL', 'https://nominatim.openstreetmap.org/');
7 else
8     @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/');
9