Nbsrv acl not working


#1

The following acl doesn’t work for me:

acl no_waf nbsrv(to_waf) lt 1
use_backend back-www if no_waf
default_backend to_waf

I keep getting error 503 (No server is available to handle this request.) instead of being sent to the backend back-www.

backend to_waf looks like this:

backend to_waf
option forwardfor header X-Forwarded-For
option httpchk HEAD / HTTP/1.0
http-check expect status 404
timeout server 25s
server 10.30.10.2:9000 10.30.10.2:9000 check

Any ideas?


#2

Are you sure the backend back-www has available servers?


#3

Yes it is (all my others front-ends point to back-www). Does the backend order matters in the config file?


#4

No idea guys? :frowning:


#5

Better contact the mailing list in this case.


#6

I will, thank you…