HAProxy Enterprise Documentation 2.0r1

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

  1. To disable this frontend:

    frontend www
       bind *:80
       default_backend servers
    
    backend servers
      server s1 192.168.50.20:80
  2. Run the disable frontend command with the name of the frontend:

    $ echo "disable frontend www" | \
       sudo socat stdio unix-connect:/var/run/hapee-2.0/hapee-lb.sock

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

See also


Next up

disable health