Update Haproxy config for mysql httpchk
This commit is contained in:
parent
76418528b6
commit
10cfdf8608
|
@ -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
|
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 sql00 192.0.2.1:3306 check port 8306
|
||||||
server sql01 192.0.2.2:3306 check port 8306 backup
|
server sql01 192.0.2.2:3306 check port 8306 backup
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue