From 7e758c8f16f8d019be58e9017298ac1dd7b44cac Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 9 Oct 2023 12:58:15 +0200 Subject: [PATCH] Fix the jinja syntax --- templates/haproxy.cfg.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 4f0a3a3..92cda70 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -76,6 +76,7 @@ listen local_stats frontend http_{{ docker_swarm_haproxy_plain_http_port }} bind *:{{ docker_swarm_haproxy_plain_http_port }} {% if docker_swarm_haproxy_installation_type == 'global' %}accept-proxy{% endif %} + mode http option http-keep-alive option forwardfor