HAProxy Enterprise Documentation 1.6r1

show acl

List all ACLs defined in the configuration.

Description

Use show acl to list all ACLs defined in the configuration.

Examples

In this example, we start with the following ACL expression in the configuration, which checks whether the requested URL path begins with /images/:

frontend www
   bind :80
   acl static_url path -i -m beg /images/
  1. Display a list of defined ACLs by calling show acl:

    $ echo "show acl" | socat stdio tcp4-connect:127.0.0.1:9999
    
    # id (file) description
    0 () acl 'path' file '/etc/hapee-1.6/hapee-lb.cfg' line 51

See also


Next up

show backend