Let's try keepalive
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
fb6756bfa4
commit
14d68a4b22
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
{% if env == "production" %}
|
||||||
# These are necessary because haproxy does not support keepalive.
|
# These are necessary because haproxy does not support keepalive.
|
||||||
SetEnv force-proxy-request-1.0 1
|
SetEnv force-proxy-request-1.0 1
|
||||||
SetEnv proxy-nokeepalive 1
|
SetEnv proxy-nokeepalive 1
|
||||||
|
{% else %}
|
||||||
|
# This is supposedly now supported in haproxy. Let's try it out in staging
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue