curl http://site1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>301 Moved Permanently</title></head><body><h1>Moved Permanently</h1><p>The document has moved <a href="https://site1:443/">here</a>.</p></body></html>
curl https://site1curl: (35) Unknown SSL protocol error in connection to site1:443
Jan 30 10:16:00 haproxy[95522]: Connect from IP:51011 to IP:80 (http/HTTP)Jan 30 10:15:50 haproxy[95522]: Connect from IP:23126 to IP:443 (https/TCP)
frontend https bind *:443 name *:443 mode tcp # tuning options timeout client 30s tcp-request inspect-delay 5s tcp-request content accept if { req_ssl_hello_type 1 } # logging options option tcplog # ACL: cond-HTTPS-site1 acl acl_5c63419cd140a8.74128944 req.ssl_sni -i site1 # ACL: cond-HTTPS-site2 acl acl_5c6341a8755db8.76123983 req.ssl_sni -i site2 # ACL: cond-HTTPS-site3 acl acl_5c634184b69f94.68079095 req.ssl_sni -i site3 # ACTION: rule-HTTPS-SRV1 use_backend pool.https.SRV1 if acl_5c63419cd140a8.74128944 || acl_5c6341a8755db8.76123983 # ACTION: rule-HTTPS-SRV2 use_backend pool.https.SRV2 if acl_5c634184b69f94.68079095
tcp-request inspect-delay 5s tcp-request content accept if { req_ssl_hello_type 1 }