From b6654379b3a27c8fa2d8a72f4e42ec4865ccfe81 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Thu, 12 Apr 2018 14:44:00 +0000 Subject: [PATCH] make haproxy check with http/1.1 Signed-off-by: Ricky Elrod --- 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 2fd8f4b380..59922945b9 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -245,7 +245,7 @@ frontend awx-frontend backend awx-backend balance hdr(appserver) server batcomputer01 batcomputer01:80 check inter 10s rise 1 fall 2 - option httpchk GET / + option httpchk HEAD / HTTP/1.1\r\nHost:batcomputer01 {% endif %} # IMPORTANT: 10023-10026 will NOT work because of selinux policies