Hi Jeffrey,
The 'AND' key word is implicit and therefore you do not need to include it
in your ACL's also the 'if' word is only needed once so for example your
use_backend statement should look something like this:
use_backend bck1 if srv1_up srv1 has_ww_uri
use_backend bck2 if srv2_up srv2 has_w
Below is the configuration, what I need is for all urls like
http//domain.tdl/ww/...
to use back end 1 or 2 or default load balancer,
and all other request to go to Apache, but I get an error:
[ALERT] 170/013846 (5151) : parsing [/etc/haproxy/haproxy.cfg:43] :
error detected while parsing switchi
2 matches
Mail list logo