From 7d1fbba00da8b21e70804e6339cf240b92e50d36 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 17 Mar 2021 17:04:21 +0100 Subject: [PATCH] haproxy: be more flexible for zabbix Signed-off-by: Pierre-Yves Chibon --- 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 3231e66d74..2bccc5df3e 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -494,5 +494,5 @@ backend zabbix-backend balance hdr(appserver) server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2 option httpchk GET / - http-check expect status 200,401 + http-check expect status 200,401,302 {% endif %}