Predefined ACLs
Certain predefined ACLs are hardcoded into HAProxy. Their names are in upper case to avoid confusion. Below is the list of predefined ACLs with their equivalence:
ACL name | Equivalent to | Usage |
---|---|---|
|
| Never match |
|
| Match if protocol is valid HTTP |
|
| Match HTTP version 1.0 |
|
| Match HTTP version 1.1 |
|
| Match an existing content-length |
|
| Match absolute URL with scheme |
|
| Match URL beginning with |
|
| Match URL equal to |
|
| Match connection from localhost |
|
| Match HTTP CONNECT method |
|
| Match HTTP DELETE method |
|
| Match HTTP GET or HEAD method |
|
| Match HTTP HEAD method |
|
| Match HTTP OPTIONS method |
|
| Match HTTP POST method |
|
| Match HTTP PUT method |
|
| Match HTTP TRACE method |
|
| Match presence of an RDP cookie |
|
| Match data in the request buffer |
|
| Always match |
|
| Wait for end of content analysis |
Next up
ACL Reference