]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/apache.erb
nominatim: add read timeout to apache
[chef.git] / cookbooks / nominatim / templates / default / apache.erb
index b79e76dbee2ebb81fcc47ff5659aa2a5c7b9cb3a..652fd93a334251e9a3133f1d3a4f2e5062dc5b8e 100644 (file)
@@ -25,6 +25,8 @@
     # Remove Proxy request header to mitigate https://httpoxy.org/
     RequestHeader unset Proxy early
 
+    RequestReadTimeout header=15-30,MinRate=500 body=15-30,MinRate=500
+
     CustomLog /var/log/apache2/nominatim.openstreetmap.org-access.log combined
     ErrorLog /var/log/apache2/nominatim.openstreetmap.org-error.log