Reiseblog mit CMS

This commit is contained in:
Burkhard Naumann 2026-05-30 00:09:33 +02:00
commit 7f820a6478
19 changed files with 600 additions and 0 deletions

17
deploy/Caddyfile Normal file
View file

@ -0,0 +1,17 @@
# /etc/caddy/Caddyfile
# Statische Auslieferung mit automatischem HTTPS (Let's Encrypt).
www.sattelfest.org {
root * /srv/sattelfest/dist
file_server
encode gzip zstd
# Fotos dürfen lange im Browser-Cache bleiben.
@photos path /photos/*
header @photos Cache-Control "public, max-age=2592000"
}
# Ohne "www" auf "www" weiterleiten.
sattelfest.org {
redir https://www.sattelfest.org{uri} permanent
}