I'd like to combine different ACLs and order them in HAProxy
-
I'd like to configure a web frontend (IP-Port) with a set of backends based on hostnames:
Host starts with otto -> Use backend otto
fred -> fred
...
Then I would like to restrict some of the servers to a list of SRC adresses and I assumed that this is somehow possible by ordering the ACL or the action list.
Obviously, the ordering still has no effect whatsoever, which means that I need to configure a different frontent with a different IP to implement client based ACL.
Which seems to be highly unfortunate. -
@wgold
State both ACLs in the actions ACL box, separated by a space, so both are required (AND). -
Awesome! Thank you!