diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 03a6220da3..3231e66d74 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -494,6 +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 401 - http-check expect status 200 + http-check expect status 200,401 {% endif %}