]> git.openstreetmap.org Git - chef.git/commitdiff
Tighten timeouts and log request timeouts
authorTom Hughes <tom@compton.nu>
Thu, 18 Jan 2024 12:21:35 +0000 (12:21 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 18 Jan 2024 12:21:59 +0000 (12:21 +0000)
cookbooks/web/templates/default/apache.frontend.erb

index 0be76bc21a72c081f454d77d9fe44ae5db7d7089..4ee4c459cf769eef7dc17cab194eb154d5e9e09c 100644 (file)
@@ -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