This commit is contained in:
Andreas Knuth 2025-10-01 17:37:20 -05:00
parent 29181ce13b
commit fecfc59988
1 changed files with 8 additions and 5 deletions

View File

@ -242,12 +242,15 @@ email-srvr.com {
}
}
annavillesda.org {
# Frontend (statische Dateien)
root * /home/aknuth/git/annaville-sda-site/dist
handle {
root * /home/aknuth/git/annaville-sda-site/dist # Neuer Prod-Dist-Ordner
try_files {path} {path}/ /index.html
file_server
# API-Anfragen an Backend weiterleiten
reverse_proxy /api/* localhost:3070
}
log {
output file /var/log/caddy/access.prod.log # Separate Logs
}
encode gzip
}
www.annavillesda.org {
redir https://annavillesda.org{uri} permanent