From 3798334b4769b7c5d5fee7b716fa22ef346a9f45 Mon Sep 17 00:00:00 2001 From: Thomas Bernhart Date: Thu, 11 Jan 2024 16:17:40 +0100 Subject: [PATCH] Fix minor indentation issues --- templates/Caddyfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/Caddyfile.j2 b/templates/Caddyfile.j2 index d66d712..65681e1 100644 --- a/templates/Caddyfile.j2 +++ b/templates/Caddyfile.j2 @@ -28,7 +28,7 @@ {%- for route in site.routes %} {% if route.strip_prefix is defined and route.strip_prefix %} handle_path {{ route.path }} { - {% else %} + {%- else %} handle {{ route.path }} { {%- endif %} {%- if site.allowlist is defined and not (route.public | default(false)) %} @@ -42,7 +42,7 @@ {% if site.certificate_file is defined %} tls {{ site.certificate_file }} {{ site.certificate_key }} - {% endif -%} + {%- endif %} } {% if (site.additional_forwarding_ports is defined) and (site.additional_forwarding_ports | length > 0) %}