I installed a Server with Proxmox and some lxc container. On this server several domains should run with only one public IP. Currently I'm trying to realize a reverse proxy with HAProxy, but it doesn't allow subfolders or variables.
For example this access is not possible: domain.tld/css/default.css domain.tld/system/login
How can I allow all connections?
My Config:
frontend http_in
mode tcp
bind *:80
bind *:443
tcp-request inspect-delay 5s
acl sslv3 req.ssl_ver 3
tcp-request content reject if sslv3
tcp-request content accept if { req_ssl_hello_type 1 }
acl web1 hdr(host) -i domain1.tld
acl web2 hdr(host) -i domain2.tld
use_backend web1 if web1
use_backend web2 if web2
backend web1
mode tcp
server web1 10.10.10.110
backend web2
mode tcp
server web2 10.10.10.112
Thank you very much.