From 40e04dda9c896503238eef130e6bed4f06bd1738 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 30 Jul 2023 14:01:26 +0200 Subject: [PATCH] nominatim: fix default page --- cookbooks/nominatim/templates/default/nginx.erb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; -- 2.39.5