Hi Guys,
I just tried to simplify some rules and I noticed that brackets {} doesn't work
with use_backend while it works fine with default_backend.
That doesn't work:
use_backend backend_test if request_domain1 { allowed_ip_foo or allowed_ip_bar }
That works:
use_backend backend_test if reques
Hi Christian,
Brackets are for anonymous ACLs only.
You seem to use named ACLs with brackets so it can't work.
Either you do as you said:
use_backend backend_test if request_domain1 allowed_ip_foo or
request_domain1 allowed_ip_bar
Or with 2 use_backend:
use_backend backend_test if request_doma
ert
> Cc: haproxy@formilux.org
> Betreff: Re: use_backend: brackets/grouping not accepted in condition
>
> Hi Christian,
>
> Brackets are for anonymous ACLs only.
> You seem to use named ACLs with brackets so it can't work.
>
> Either you do as you said:
> use_backe
On Fri, Mar 22, 2013 at 2:47 AM, Christian Ruppert wrote:
> Hi Baptiste,
>
> it is IMHO not really clear that brackets are for anonymous ACLs only.
> Wouldn't it make sense to support it for use_backend as well?
>
>
Those two are not mutually exclusive: you can use them with use_backend and
they a
Talbot [mailto:btal...@aeriagames.com]
Gesendet: Freitag, 22. März 2013 16:35
An: Christian Ruppert
Cc: Baptiste; HAproxy Mailing Lists
Betreff: Re: use_backend: brackets/grouping not accepted in condition
On Fri, Mar 22, 2013 at 2:47 AM, Christian Ruppert wrote:
Hi Baptiste,
5 matches
Mail list logo