mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
9 lines
385 B
Plaintext
9 lines
385 B
Plaintext
# Shared proxy headers. Both backends rebuild absolute URLs (DRF
|
|
# build_absolute_uri / Rust RequestCtx) from Host + X-Forwarded-Proto, so these
|
|
# must be set on every proxied location.
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_http_version 1.1;
|