I’m hosting different web-based services on the same machine and
using haproxy as a reverse proxy, so based on the request hostname I
forward the request into different services on different ports.
bck01.myhost.local -> myhost.local:8081
bck02.myhost.local -> myhost.local:8082
Which woks correclty but the ‘myhost.local:8081’ url is not available from the outside world.
Only the urls that match the current ACL rules
How could I make those available?
acl is_bck01 hdr_end(host) -i bck01.myhost.local
use_backend bck01 if is_bck01
server s2 127.0.0.1:8081 maxconn 32 check