From 033b9faa78d03ed6697073c7e4f7a28d2394760b Mon Sep 17 00:00:00 2001 From: Lauro Silveira Neto Date: Thu, 14 Feb 2019 16:36:48 +0100 Subject: [PATCH] Update frontend.cfg Accept multiple ssl certificates --- templates/frontend.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/frontend.cfg b/templates/frontend.cfg index d4dd55a..2b5540f 100644 --- a/templates/frontend.cfg +++ b/templates/frontend.cfg @@ -5,7 +5,7 @@ frontend {{ item.name }} {%if item.ip is defined %}{{ item.ip }}{% endif %}{%if {% if item.bind is defined -%} {%- for bind in item.bind -%} - bind {{ bind }}{% if item.ssl is defined %}{% if item.ssl.cert is defined %} ssl crt {{ item.ssl.cert }}{% if item.ssl.ciphers is defined %} ciphers {{ item.ssl.ciphers }}{% endif %}{% endif %}{% endif %} + bind {{ bind }}{% if item.ssl is defined %}{% if item.ssl.cert is defined %} ssl {% for cert in item.ssl.cert %} crt {{ cert }}{% endfor %}{% if item.ssl.ciphers is defined %} ciphers {{ item.ssl.ciphers }}{% endif %}{% endif %}{% endif %} {% endfor -%} {% endif -%}