I am load balancing some squid servers with haproxy. All is working Ok.
Now i must route some https/Connect-requests to a special backend pool.
The routing of the http-requests to this backend-pool is workung via acl … hdr(host) and use_backend.
I dont find the right variable to use in the acl for the destination of the CONNECT-Request
acl ACL_duck hdr(host) -i -m end domain.tl
use_backend squidservers2 if ACL_duck
The following acl does not work for Connects
acl ACL_https_duck req_ssl_sni -i -m end domain.tl
use_backend squidservers2 if ACL_https_duck