From: Tom Hughes Date: Thu, 18 Jan 2024 12:21:35 +0000 (+0000) Subject: Tighten timeouts and log request timeouts X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ab4b82d3ca1eb1be198b331203f3505c4a043b59 Tighten timeouts and log request timeouts --- diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb index 0be76bc21..4ee4c459c 100644 --- a/cookbooks/web/templates/default/apache.frontend.erb +++ b/cookbooks/web/templates/default/apache.frontend.erb @@ -35,7 +35,9 @@ ErrorLog /var/log/apache2/error.log # # Configure timeouts # - RequestReadTimeout handshake=20-40,MinRate=500 header=20-40,MinRate=500 body=20,MinRate=500 + TimeOut 10 + RequestReadTimeout handshake=10-20,MinRate=500 header=10-20,MinRate=500 body=10-120,MinRate=500 + LogLevel reqtimeout:info # # Add the unique ID to the request headers