Hi!
I’m very new to Haproxy and how to set up different rules in my frontend.
My problem right now is how i make my sni work with the path-acl, everything works fine without it but when I try to use my path_beg it does’nt work. Is there something obvious that I did wrong in my configuration or maybe I need to do it in a different way?
I have made different test and even tried with using another port URL:port and everything works, its only the path that is the problem.
frontend test
bind *:443 ssl crt /etc/haproxy/certs/ strict-sni
mode http
option httplog
maxconn 2000
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }
acl camera1 path_beg camera1
acl test-site1 ssl_fc_sni -i test-site1.example.com
acl monitor ssl_fc_sni -i monitor.example.com
acl test-site2 ssl_fc_sni -i test-site2.example.com
use_backend camera-test-1 if test-site1 camera1
use_backend monitor-test if monitor
use_backend default-test-1 if test-site1
use_backend default-test-2 if test-site2
2 posts - 2 participants