@michacassola wrote:
Hi there,
could anybody help me to figure out why my config does not work?
listen listener mode tcp bind *:80 bind *:443 bind *:10000 bind *:8443 tcp-request inspect-delay 5s tcp-request content accept if HTTP or { req_ssl_hello_type 1 } use-server c2 if { hdr(host) -i -f /etc/haproxy/c2/domains } or { req_ssl_sni -i -f /etc/haproxy/c2/domains } server c2 10.192.119.156 port 443 check use-server c3 if { hdr(host) -i -f /etc/haproxy/c3/domains } or { req_ssl_sni -i -f /etc/haproxy/c3/domains } server c3 10.192.119.155 port 443 check use-server c4 if { hdr(host) -i -f /etc/haproxy/c4/domains } or { req_ssl_sni -i -f /etc/haproxy/c4/domains } server c4 10.192.119.143 port 443 check
Posts: 1
Participants: 1