nginx module: Add default proxy headers for tomcat

This commit is contained in:
Franz Pletz 2016-04-07 17:27:31 +02:00 committed by Robin Gloster
parent 3830a890ab
commit e982aeae6a

View file

@ -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;