Reference
disable frontend
On this page
Stop routing traffic to a frontend that is declared in your load balancer configuration file.
Description Jump to heading
Use the disable frontend
command to stop routing traffic to a frontend.
Examples Jump to heading
-
To disable this frontend:
haproxyfrontend wwwbind *:80default_backend serversbackend serversserver s1 192.168.50.20:80haproxyfrontend wwwbind *:80default_backend serversbackend serversserver s1 192.168.50.20:80 -
Run the
disable frontend
command with the name of the frontend:nixecho "disable frontend www" | \sudo socat stdio tcp4-connect:127.0.0.1:9999nixecho "disable frontend www" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
The load balancer marks the frontend with status “STOP” on the stats page.
See also Jump to heading
Do you have any suggestions on how we can improve the content of this page?