add :$port to nginx Host header
This commit is contained in:
parent
bbc2a0be51
commit
6e0bc62eea
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ server {
|
|||
|
||||
location / {
|
||||
proxy_pass http://localhost:5001;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Host $host:$port;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue