From 503bcc57c8a581acea96eb2c0684a7cb69bf686d Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 27 Aug 2018 12:31:32 +0000 Subject: [PATCH] haproxy: use API v2 endpoint to check copr-frontend --- roles/haproxy/templates/haproxy.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 55c7f51a6c..89c5f3e1b7 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -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.