diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 192bbd4..6214a4c 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -38,7 +38,7 @@ backend srv_stats server Local 127.0.0.1:{{ data["stats"]["port"] | default(1936) }} {% endif %} {% for o in data["easymapping"] -%} - {% set mode = o["mode"] or "http" %} + {% set mode = o["mode"] or "http" %} {% set salt = loop.index %} frontend {{ mode }}_in_{{ o["port"] }}_{{ salt }}