HAProxy Enterprise Documentation 2.1r1

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

  1. To restart this frontend:

    frontend www
        bind *:80
        default_backend servers
  2. Run the enable frontend command with the name of the frontend:

    $ echo "enable frontend www" | socat /var/run/hapee-2.1/hapee-lb.sock stdio

HAProxy Enterprise marks the frontend with status "OPEN" on the stats page.


Next up

Lua scripts