From: Peter Palfrader Date: Sun, 23 Dec 2018 09:33:01 +0000 (+0100) Subject: also close http connections after each request via haproxy X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f356bd0e6348f9e6902202e79f8558f258bd56a9;p=mirror%2Fdsa-puppet.git also close http connections after each request via haproxy --- diff --git a/modules/roles/templates/snapshot/haproxy.cfg.erb b/modules/roles/templates/snapshot/haproxy.cfg.erb index dbe39d243..b7115349d 100644 --- a/modules/roles/templates/snapshot/haproxy.cfg.erb +++ b/modules/roles/templates/snapshot/haproxy.cfg.erb @@ -50,6 +50,10 @@ frontend front_ssl default_backend backend option http-keep-alive + # We rate-limit requests by clients. + # Currently, we do that at the netfilter level, so one + # request per connection works best. + option httpclose #option redispatch backend backend