Fix jinja2 syntax to expand a variable
This commit is contained in:
parent
752468e5d9
commit
e15987f2dc
@ -22,12 +22,12 @@ character-set-server = utf8mb4
|
||||
ssl-ca=/etc/pki/tls/certs/ca-bundle.crt
|
||||
{% for certificate in certificates.files %}
|
||||
{% if certificate.path is regex('/pubcert.pem$') %}
|
||||
ssl-cert={% certificate.path %}
|
||||
ssl-cert={{ certificate.path }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for certificate in certificates.files %}
|
||||
{% if certificate.path is regex('/privkey.pem$') %}
|
||||
ssl-key={% certificate.path %}
|
||||
ssl-key={{ certificate.path }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
tls-version=TLSv1.2,TLSv1.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user