Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

simple acl combination query (no replies)

$
0
0
hi,
simple question about acl's

i know i can combine them in monitors

eg:

acl acl1 nbsrv(mysql) eq 0
acl acl2 nbsrv(mssql) eq 0

monitor-uri /dbs

for and:
monitor fail if acl1 acl2

for or:
monitor fail if acl1 || acl2


what i'm not sure about, is for more complicated logical combinations, can
multiple and's and or's be combined, eg:

monitor fail unless (acl1 acl2 acl3) || (acl4 (acl5 || acl6)) || (acl1 ||
acl5)


thanks
lee.

Viewing all articles
Browse latest Browse all 5112

Trending Articles