mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Fix ssl_certs not always reset
This commit is contained in:
@@ -543,10 +543,10 @@ defaults
|
||||
{% if frontend.enabled == '1' %}
|
||||
# Frontend: {{frontend.name}} ({{frontend.description}})
|
||||
frontend {{frontend.name}}
|
||||
{% set ssl_certs = [] %}
|
||||
{% if frontend.ssl_enabled == '1' %}
|
||||
{# # collect ssl certs (if configured) #}
|
||||
{% if frontend.ssl_certificates|default("") != "" %}
|
||||
{% set ssl_certs = [] %}
|
||||
{% for cert in frontend.ssl_certificates.split(",") %}
|
||||
{% do ssl_certs.append('crt /var/etc/haproxy/ssl/' ~ cert ~ '.pem') %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user