# 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;