mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
Fix ssl_certs not always reset
This commit is contained in:
parent
2e641cfa4e
commit
e64babde73
1 changed files with 1 additions and 1 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue