haproxy: be more flexible for zabbix

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2021-03-17 17:04:21 +01:00
parent 23c7ef8c20
commit 7d1fbba00d

View file

@ -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 %}