X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fsnapshot%2Fhaproxy.cfg.erb;h=dbe39d24352b0dd53a73976228bea8dcfbd48c89;hb=fec4861e676415e8952b36c308ed40f7ce060fc4;hp=79879bdd03b9e5ec685ea5827cc54c6219b079b0;hpb=3b94a8d3902f0a21e833fd6d218c933c212b3fb7;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/snapshot/haproxy.cfg.erb b/modules/roles/templates/snapshot/haproxy.cfg.erb index 79879bdd0..dbe39d243 100644 --- a/modules/roles/templates/snapshot/haproxy.cfg.erb +++ b/modules/roles/templates/snapshot/haproxy.cfg.erb @@ -27,9 +27,10 @@ defaults mode http option httplog option dontlognull - timeout connect 5000 - timeout client 50000 - timeout server 50000 + option forwardfor + timeout connect 5000 + timeout client 50000 + timeout server 50000 errorfile 400 /etc/haproxy/errors/400.http errorfile 403 /etc/haproxy/errors/403.http errorfile 408 /etc/haproxy/errors/408.http