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
parent 0957119550
commit abec23118d
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;