Try enabling persistent copr-front sessions
This commit is contained in:
parent
c3b5fd2737
commit
3ea1a0c3d6
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue