HowtoHaproxy: Ajouter requête API avec nc

This commit is contained in:
Alexis Ben Miloud--Josselin 2024-02-20 17:24:17 +01:00
parent 4df3a1bf42
commit 59ebd4ab42

View file

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