feature: infra

This commit is contained in:
Benno Tielen 2026-08-28 14:34:04 +02:00
parent 96e7beab22
commit 1160ce4a8b
2 changed files with 18 additions and 1 deletions

View file

@ -44,6 +44,23 @@ all:
caddy_redirects: caddy_redirects:
- from: www.hl-mutter-teresa-chemnitz.de - from: www.hl-mutter-teresa-chemnitz.de
to: hl-mutter-teresa-chemnitz.de to: hl-mutter-teresa-chemnitz.de
# Parish shortcut subdomains (replace the HTTP-only IONOS forwards;
# to_path drops the incoming URI and redirects to a fixed page)
- from: st-antonius.hl-mutter-teresa-chemnitz.de
to: hl-mutter-teresa-chemnitz.de
to_path: /gemeinde/st-antonius
- from: st-franziskus.hl-mutter-teresa-chemnitz.de
to: hl-mutter-teresa-chemnitz.de
to_path: /gemeinde/st-franziskus
- from: st-johannes-nepomuk.hl-mutter-teresa-chemnitz.de
to: hl-mutter-teresa-chemnitz.de
to_path: /gemeinde/st-johannes-nepomuk
- from: st-joseph.hl-mutter-teresa-chemnitz.de
to: hl-mutter-teresa-chemnitz.de
to_path: /gemeinde/st-joseph
- from: st-marien.hl-mutter-teresa-chemnitz.de
to: hl-mutter-teresa-chemnitz.de
to_path: /gemeinde/st-marien-zschopau
# App environments # App environments
app_environments: app_environments:

View file

@ -6,7 +6,7 @@
{% endfor %} {% endfor %}
{% for redirect in caddy_redirects | default([]) %} {% for redirect in caddy_redirects | default([]) %}
{{ redirect.from }} { {{ redirect.from }} {
redir https://{{ redirect.to }}{uri} permanent redir https://{{ redirect.to }}{{ redirect.to_path | default('{uri}') }} permanent
} }
{% endfor %} {% endfor %}