header forwarding

This commit is contained in:
Andreas Knuth 2024-09-12 15:51:35 +02:00
parent 52a63baf41
commit 600d24bceb
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ 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-Forwarded-For {remote} header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
} }
tls { tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG