Update Haproxy config for mysql httpchk

This commit is contained in:
vlaborie 2018-10-02 10:40:02 +02:00
parent 76418528b6
commit 10cfdf8608

View file

@ -268,7 +268,8 @@ La version avancée consiste à utiliser un check http pour déterminer l'état
~~~
listen mysql 127.0.0.1:3306
option httpchk
option httpchk HEAD
http-check disable-on-404
server sql00 192.0.2.1:3306 check port 8306
server sql01 192.0.2.2:3306 check port 8306 backup
~~~