Add Proxy headers for bouncer.
This commit is contained in:
parent
e87b00353f
commit
72b8276b47
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ server {
|
|||
# ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass {{ targetPath }};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue