hdr_dom(host) not work for https(ssl).
I should change to using req_ssl_sni.
My final setting as following.
frontend ha_8080
mode tcp
bind *:8080
tcp-request content accept if { req_ssl_hello_type 1 }
tcp-request inspect-delay 100ms
tcp-request content accept if HTTP
acl is_abc hdr_dom(host) -i abc.com
acl is_abc_ssl req_ssl_sni -i abc.com
use_backend http_server if is_abc
use_backend local_server1 if is_abc_ssl
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…