Files
holy-flavor-rater/frontend/proxy_params.conf
T
2026-06-09 15:07:04 +02:00

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;