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