Fix Caddyfile template for undefined email

This commit is contained in:
Marty Oehme 2021-07-29 17:04:33 +02:00
parent 4b947a3112
commit 351e1202b2
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -1,6 +1,6 @@
{ {
{%- if caddy_email is not none %} {%- if caddy_email is not undefined and not none %}
email {{ caddy_email }} email "{{ caddy_email }}"
{% endif %} {% endif %}
{% if caddy_tls_use_staging is sameas true %} {% if caddy_tls_use_staging is sameas true %}