haproxy: use API v2 endpoint to check copr-frontend

This commit is contained in:
Mikolaj Izdebski 2018-08-27 12:31:32 +00:00
parent af0f0d9c05
commit 503bcc57c8

View file

@ -609,7 +609,7 @@ backend copr-backend
balance hdr(appserver)
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
option httpchk GET /api_3/
option httpchk GET /api_2/
# 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.