haproxy: use API v2 endpoint to check copr-frontend
This commit is contained in:
parent
af0f0d9c05
commit
503bcc57c8
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ backend copr-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server copr-frontend01 copr-frontend01:80 check inter 10s rise 1 fall 2
|
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
|
server copr-frontend02 copr-frontend02:80 check inter 10s rise 1 fall 2
|
||||||
option httpchk GET /api_3/
|
option httpchk GET /api_2/
|
||||||
|
|
||||||
# Apache doesn't handle the initial connection here like the other proxy
|
# Apache doesn't handle the initial connection here like the other proxy
|
||||||
# entries. This proxy also doesn't use the http mode like the others.
|
# entries. This proxy also doesn't use the http mode like the others.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue