添加 proxy_pass/forwarded.conf
This commit is contained in:
parent
332a1141ce
commit
cb3657ac36
1 changed files with 9 additions and 0 deletions
9
proxy_pass/forwarded.conf
Normal file
9
proxy_pass/forwarded.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Scheme $scheme;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Destination $http_destination;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-NginX-Proxy true;
|
||||
Loading…
Add table
Add a link
Reference in a new issue