Skip to content

Commit

Permalink
Fix minor indentation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcbe committed Jan 11, 2024
1 parent 23cc5ea commit 3798334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/Caddyfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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)) %}
Expand All @@ -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) %}
Expand Down

0 comments on commit 3798334

Please sign in to comment.