HowtoHaproxy: Ajouter requête API avec nc
This commit is contained in:
parent
4df3a1bf42
commit
59ebd4ab42
|
@ -801,6 +801,11 @@ Documentation : <https://www.haproxy.com/documentation/haproxy-runtime-api/refer
|
|||
# echo "show acl #<ID>" | socat stdio /run/haproxy/admin.sock
|
||||
~~~
|
||||
|
||||
> Note : on peut aussi utiliser `nc(1)` du paquet `netcat-openbsd` :
|
||||
>
|
||||
> ~~~
|
||||
> # echo "show info" | nc -U /run/haproxy/admin.sock
|
||||
> ~~~
|
||||
|
||||
### Désactiver/Activer un serveur
|
||||
|
||||
|
|
Loading…
Reference in a new issue