set host, X-Real-IP, and X-Forwarded-For headers (#93)
This commit is contained in:
parent
18c3f3a09f
commit
b56616fcc9
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ server {
|
|||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue