Correction syntaxe exemples
This commit is contained in:
parent
f19739f2d2
commit
cdefeb44fd
|
@ -229,7 +229,8 @@ backend domain2
|
|||
### Exemple en mode TCP
|
||||
|
||||
~~~
|
||||
listen memcached 127.0.0.1:11211
|
||||
listen memcached
|
||||
bind 127.0.0.1:11211
|
||||
option tcp-check
|
||||
server nosql00 192.0.2.3:11211 check
|
||||
server nosql01 192.0.2.4:11211 check backup
|
||||
|
@ -250,7 +251,8 @@ Il va alors faire une connexion identifiée au serveur MySQL, puis la fermer et
|
|||
Ce mode ne nécessite pas d'outillage supplémentaire et nous le recommandons lorsqu'HAProxy agit seulement comme un proxy et pas comme un load-balancer ou pour de la tolérance de panne.
|
||||
|
||||
~~~
|
||||
listen mysql 127.0.0.1:3306
|
||||
listen mysql
|
||||
bind 127.0.0.1:3306
|
||||
mode tcp
|
||||
option mysql-check user haproxy_check post-41
|
||||
server sql00 192.0.2.1:3306 check
|
||||
|
|
Loading…
Reference in a new issue