Reference
enable frontend
On this page
Re-enable a frontend that was stopped with the disable frontend
command.
Description Jump to heading
Use the enable frontend
command to begin routing traffic to a frontend that had been disabled previously.
Examples Jump to heading
-
To restart 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
enable frontend
command with the name of the frontend:bashecho "enable frontend www" | \sudo socat stdio tcp4-connect:127.0.0.1:9999bashecho "enable frontend www" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
The load balancer marks the frontend with status “OPEN” on the stats page.
See also Jump to heading
If this page was useful, please, Leave the feedback.