The acl of haproxy is not related to OR
When defining multiple acl, sometimes multiple conditions are needed to combine
Acl is_www hdr_beg (host)-I www.51yunv.com
Acl is_dns src 116.211.121.0/24 218.65.212.0/24
In normal writing, a single condition:
Use_backend www if is_www
Or the way to write:
Use_backend www if is_www | | is_dns
The way and is written
Use_backend www if is_www is_dns
Use_backend www if is_www! is_dns
The writing of "not":
Use_backend www if! is_dns