HAProxy Enterprise Documentation 2.2r1
enable frontend
Re-enable a frontend that was stopped with the disable frontend
command.
Description
Use the enable frontend
command to begin routing traffic to a frontend that had been disabled previously.
Examples
-
To restart this frontend:
frontend www bind *:80 default_backend servers backend servers server s1 192.168.50.20:80
-
Run the
enable frontend
command with the name of the frontend:$ echo "enable frontend www" | \ sudo socat stdio unix-connect:/var/run/hapee-2.2/hapee-lb.sock
HAProxy Enterprise marks the frontend with status "OPEN" on the stats page.
See also
Next up
enable health