Let's try keepalive

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-02-13 16:00:22 +00:00
parent fb6756bfa4
commit 14d68a4b22

View file

@ -1,3 +1,7 @@
{% if env == "production" %}
# These are necessary because haproxy does not support keepalive.
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
{% else %}
# This is supposedly now supported in haproxy. Let's try it out in staging
{% endif %}