Squid connect host

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

Hi,
I wonder if that because the Host header embeds the TCP port in CONNECT requests:

CONNECT server.example.com:80 HTTP/1.1
Host: server.example.com:80

so your ACL would look like:

acl ACL_duck hdr(host),word(1,:) -i -m end domain.tl domain.tl
use_backend squidservers2 if ACL_duck

It will strip the :<port> part of the domain.

Thank you
This snippet works without the second domain.tl