adjustments according cloudflare

This commit is contained in:
Andreas Knuth 2024-09-12 16:15:43 +02:00
parent 600d24bceb
commit 39889ddc88
1 changed files with 4 additions and 3 deletions

View File

@ -65,9 +65,10 @@ dev.bizmatch.net {
api-dev.bizmatch.net { api-dev.bizmatch.net {
reverse_proxy host.docker.internal:3000 { reverse_proxy host.docker.internal:3000 {
header_up X-Real-IP {remote_host} header_up X-Real-IP {http.request.header.CF-Connecting-IP}
header_up X-Forwarded-For {remote_host} header_up X-Forwarded-For {http.request.header.CF-Connecting-IP}
header_up X-Forwarded-Proto {scheme} header_up X-Forwarded-Proto {http.request.header.X-Forwarded-Proto}
header_up CF-IPCountry {http.request.header.CF-IPCountry}
} }
tls { tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG