From 93f426a772faa9c9d8cb6c87aa1609ab99b5e460 Mon Sep 17 00:00:00 2001 From: Marco Procaccini Date: Tue, 17 Feb 2026 12:39:18 +0100 Subject: [PATCH] test http/1.1 --- templates/haproxy.cfg.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index d6a862c..e76e3f1 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -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 %}