Add CI and deployment workflows for Gitea
All checks were successful
CI / quality-checks (push) Successful in 42s

This commit is contained in:
2026-03-31 17:26:11 +02:00
parent 9f73077207
commit 03a5b3803e
5 changed files with 99 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# Caddyfile for HXBooks
# Replace 'localhost' with your domain for production with automatic HTTPS
localhost {
:80 {
# Serve static files directly (CSS, JS, images, etc.)
handle /static/* {
root * /var/www
@@ -33,9 +33,6 @@ localhost {
# Forward real IP to app
header_up X-Real-IP {remote}
header_up X-Forwarded-For {remote}
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Host {host}
}
# Optional: Enable compression for better performance