Fix indentation in generated Caddyfile
This commit is contained in:
parent
79a75602b7
commit
dfd18a388a
1 changed files with 3 additions and 3 deletions
|
@ -1,16 +1,16 @@
|
||||||
{% if caddy_use_local_certs %}
|
{% if caddy_use_local_certs %}
|
||||||
{
|
{
|
||||||
local_certs
|
local_certs
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for site in caddy_sites %}
|
{% for site in caddy_sites %}
|
||||||
{{ site.name }} {
|
{{ site.name }} {
|
||||||
{% if site.directives is defined %}
|
{% if site.directives is defined %}
|
||||||
{{ site.directives }}
|
{{ site.directives | indent }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.proxy_to is defined %}
|
{% if site.proxy_to is defined %}
|
||||||
reverse_proxy {{ site.proxy_to }}
|
reverse_proxy {{ site.proxy_to }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue