diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index c167383..b6302ac 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -72,7 +72,7 @@ listen local_stats stats realm HAProxy\ Statistics frontend http - bind *:{{ https_port }} ssl crt {{ haproxy_cert_dir }} {% if docker_swarm_haproxy_http2_enabled %}alpn h2,{% endif %}http/1.1 {% if docker_swarm_haproxy_installation_type == 'global' %}accept-proxy{% endif %} + bind *:{{ https_port }} ssl crt {{ haproxy_cert_dir }}{% if docker_swarm_haproxy_http2_enabled %} alpn h2,http/1.1{% endif %}{% if docker_swarm_haproxy_installation_type == 'global' %} accept-proxy{% endif %} bind *:{{ haproxy_default_port }} {% if docker_swarm_haproxy_installation_type == 'global' %}accept-proxy{% endif %}