nginx module: Add default proxy headers for tomcat
This commit is contained in:
parent
3830a890ab
commit
e982aeae6a
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ let
|
|||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header Accept-Encoding "";
|
||||
|
||||
proxy_redirect off;
|
||||
|
|
Loading…
Reference in a new issue