X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/242e569f6b67381cf7ec98dc6e034dc5b5007476..10d285506154265fc348843350ec800aed1d74fc:/cookbooks/nominatim/templates/default/apache.erb diff --git a/cookbooks/nominatim/templates/default/apache.erb b/cookbooks/nominatim/templates/default/apache.erb index b79e76dbe..39fa83289 100644 --- a/cookbooks/nominatim/templates/default/apache.erb +++ b/cookbooks/nominatim/templates/default/apache.erb @@ -25,7 +25,9 @@ # Remove Proxy request header to mitigate https://httpoxy.org/ RequestHeader unset Proxy early - CustomLog /var/log/apache2/nominatim.openstreetmap.org-access.log combined + RequestReadTimeout header=15-30,MinRate=500 body=15-30,MinRate=500 + + CustomLog <%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/nominatim.openstreetmap.org-error.log DocumentRoot <%= @directory %>/website