feat: add support for X-Forwarded-Port in ProxyFix middleware (#13102)

This commit is contained in:
Abdullah AlOsaimi 2025-02-10 09:28:29 -05:00 • committed by GitHub
commit abec23118d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;