use more reverse proxy header

This commit is contained in:
Andreas Knuth 2024-05-20 10:03:46 -05:00
parent 27ebebd771
commit be4f6c3040
1 changed files with 12 additions and 2 deletions

View File

@ -2,13 +2,23 @@
acme_dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
bizmatch.net {
reverse_proxy bizmatch:8090
reverse_proxy bizmatch:8090 {
header_up Host {host}
header_up X-Real-IP {remote}
header_up X-Forwarded-For {remote}
header_up X-Forwarded-Proto {scheme}
}
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}
}
www.bizmatch.net {
reverse_proxy bizmatch:8090
reverse_proxy bizmatch:8090 {
header_up Host {host}
header_up X-Real-IP {remote}
header_up X-Forwarded-For {remote}
header_up X-Forwarded-Proto {scheme}
}
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}