From: Sarah Hoffmann Date: Sun, 30 Jul 2023 12:01:26 +0000 (+0200) Subject: nominatim: fix default page X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/40e04dda9c896503238eef130e6bed4f06bd1738?hp=1d1067a57f2a30f8a5495ccbba011f72163d68d2 nominatim: fix default page --- diff --git a/cookbooks/nominatim/templates/default/nginx.erb b/cookbooks/nominatim/templates/default/nginx.erb index 96648e3e3..567562454 100644 --- a/cookbooks/nominatim/templates/default/nginx.erb +++ b/cookbooks/nominatim/templates/default/nginx.erb @@ -145,12 +145,8 @@ server { ssl_certificate /etc/ssl/certs/<%= node[:fqdn] %>.pem; ssl_certificate_key /etc/ssl/private/<%= node[:fqdn] %>.key; -<% if node[:nominatim][:api_flavour] == "php" %> - root <%= @directory %>/website; -<% else -%> root <%= @directory %>/static-website; -<% end -%> - index search.php; + index /search; access_log <%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-access.log combined; error_log <%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-error.log;