Fix Caddyfile template for undefined email
This commit is contained in:
parent
4b947a3112
commit
351e1202b2
1 changed files with 2 additions and 2 deletions
|
|
@ -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 %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue