HAProxy Enterprise Documentation 2.1r1
disable frontend
Stop routing traffic to a frontend that is declared in your HAProxy Enterprise configuration file.
Description
Use the disable frontend
command to stop routing traffic to a frontend.
Examples
-
To disable this frontend:
frontend www
bind *:80
default_backend servers
-
Run the disable frontend
command with the name of the frontend:
$ echo "disable frontend www" | socat /var/run/hapee-2.1/hapee-lb.sock stdio
HAProxy Enterprise marks the frontend with status "STOP" on the stats page.
Next up
Lua scripts