ansible/roles/haproxy/templates/sni_host.cfg.j2

12 lines
363 B
Plaintext
Raw Normal View History

2020-10-03 03:04:44 +02:00
# {{ ansible_managed }}
backend sni_{{ item.host }}
mode tcp
acl clienthello req_ssl_hello_type 1
acl serverhello rep_ssl_hello_type 2
tcp-request inspect-delay 5s
tcp-request content accept if clienthello
tcp-response content accept if serverhello
option ssl-hello-chk
server {{ item.host }} {{ item.addr }}:{{ item.port | default("443") }} check