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