echo 'enable server web-backend/web01' | socat stdio /run/haproxy/admin.sock
Put an HAProxy server back into rotation
Returns the named server to service after you fixed it or finished maintenance, letting the load balancer route traffic to it again. Confirm the server passes its health check before enabling. The counterpart to disable server.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.