Add CI and deployment workflows for Gitea
All checks were successful
CI / quality-checks (push) Successful in 42s
All checks were successful
CI / quality-checks (push) Successful in 42s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user