From ab4b82d3ca1eb1be198b331203f3505c4a043b59 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 18 Jan 2024 12:21:35 +0000 Subject: [PATCH] Tighten timeouts and log request timeouts --- cookbooks/web/templates/default/apache.frontend.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5