feat: add support for X-Forwarded-Port in ProxyFix middleware (#13102)
This commit is contained in:
parent
0957119550
commit
abec23118d
3 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue