cielectrical changed

This commit is contained in:
Andreas Knuth 2025-08-22 14:56:19 -05:00
parent 217ad84815
commit 215d7a3978
1 changed files with 9 additions and 6 deletions

View File

@ -55,12 +55,15 @@ fancytextstuff.com {
encode gzip encode gzip
} }
cielectrical.bayarea-cc.com { cielectrical.bayarea-cc.com {
reverse_proxy localhost:3000 { # wenn du API innerhalb von Next bedienst, weiterleiten an den Next Prozess
header_up X-Real-IP {http.request.header.CF-Connecting-IP} handle {
header_up X-Forwarded-For {http.request.header.CF-Connecting-IP} reverse_proxy localhost:3000
header_up X-Forwarded-Proto {http.request.header.X-Forwarded-Proto}
header_up CF-IPCountry {http.request.header.CF-IPCountry}
} }
log {
output file /var/log/caddy/cielectrical.log
format console
}
encode gzip
} }
www.fancytextstuff.com { www.fancytextstuff.com {
redir https://fancytextstuff.com{uri} permanent redir https://fancytextstuff.com{uri} permanent