add :$port to nginx Host header

This commit is contained in:
jesopo 2019-09-18 10:12:55 +01:00
parent bbc2a0be51
commit 6e0bc62eea

View file

@ -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;
}
}