Try enabling persistent copr-front sessions

This commit is contained in:
Mikolaj Izdebski 2018-08-28 18:47:13 +00:00
parent c3b5fd2737
commit 3ea1a0c3d6

View file

@ -607,8 +607,14 @@ frontend copr-frontend
backend copr-backend
balance hdr(appserver)
{% if env == "production" %}
server copr-frontend01 copr-frontend01:80 check inter 10s rise 1 fall 2
server copr-frontend02 copr-frontend02:80 check inter 10s rise 1 fall 2
{% else %}
cookie SERVERID insert indirect nocache
server copr-frontend01 copr-frontend01:80 check inter 10s rise 1 fall 2 cookie copr-frontend01
server copr-frontend02 copr-frontend02:80 check inter 10s rise 1 fall 2 cookie copr-frontend02
{% endif %}
option httpchk GET /api_3/
# Apache doesn't handle the initial connection here like the other proxy