test http/1.1
This commit is contained in:
parent
0d18ae5be6
commit
93f426a772
|
|
@ -55,7 +55,7 @@ peers mypeers
|
|||
|
||||
listen stats
|
||||
{% if docker_swarm_haproxy_ipv4_only %}
|
||||
bind 0.0.0.0:{{ haproxy_admin_port }} ssl crt {{ haproxy_cert_dir }} alpn http/1.1
|
||||
bind 0.0.0.0:{{ haproxy_admin_port }} ssl crt {{ haproxy_cert_dir }} alpn h2,http/1.1
|
||||
{% elif docker_swarm_haproxy_ipv6_only %}
|
||||
bind :::{{ haproxy_admin_port }} ssl crt {{ haproxy_cert_dir }} alpn h2,http/1.1
|
||||
{% else %}
|
||||
|
|
@ -121,7 +121,7 @@ frontend http_{{ docker_swarm_haproxy_plain_http_port }}
|
|||
|
||||
frontend http
|
||||
{% if docker_swarm_haproxy_ipv4_only %}
|
||||
bind 0.0.0.0:{{ https_port }} ssl crt {{ haproxy_cert_dir }}{% if docker_swarm_haproxy_http2_enabled %} alpn h2,http/1.1{% endif %}{% if docker_swarm_haproxy_accept_proxy %} accept-proxy{% endif %}
|
||||
bind 0.0.0.0:{{ https_port }} ssl crt {{ haproxy_cert_dir }}{% if docker_swarm_haproxy_http2_enabled %} alpn http/1.1{% endif %}{% if docker_swarm_haproxy_accept_proxy %} accept-proxy{% endif %}
|
||||
|
||||
bind 0.0.0.0:{{ haproxy_default_port }} {% if docker_swarm_haproxy_accept_proxy %}accept-proxy{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue