Commit 505ccfb2 authored by Klaus Frank's avatar Klaus Frank
Browse files

fix server line in config

parent 18e28f07
......@@ -86,7 +86,7 @@ backend bk_acme_{{ haproxy_backend.Name }}
{% endif %}
cookie SERVERID insert indirect
{% for haproxy_backend_server in haproxy_backend.Backend_Servers %}
server {{ haproxy_backend_server.Name }} {{ haproxy_backend_server.Address }}:80 {% if haproxy_backend.Mode == 'http' %}cookie {% endif %}{{ haproxy_backend_server.Name }} check
server {{ haproxy_backend_server.Name }} {{ haproxy_backend_server.Address }}:80 {% if haproxy_backend.Mode == 'http' %}cookie {% endif %}check
{% endfor %}
{% endif %}
......@@ -105,6 +105,6 @@ backend bk_ssl_{{ haproxy_backend.Name }}
{% endif %}
cookie SERVERID insert indirect
{% for haproxy_backend_server in haproxy_backend.Backend_Servers %}
server {{ haproxy_backend_server.Name }} {{ haproxy_backend_server.Address }}:{{ haproxy_backend_server.Port }} {% if haproxy_backend.Mode == 'http' %}cookie {% endif %}{{ haproxy_backend_server.Name }} check
server {{ haproxy_backend_server.Name }} {{ haproxy_backend_server.Address }}:{{ haproxy_backend_server.Port }} {% if haproxy_backend.Mode == 'http' %}cookie {% endif %}check
{% endfor %}
{% endfor %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment