Skip to content

Commit

Permalink
Added valve header
Browse files Browse the repository at this point in the history
  • Loading branch information
karser committed May 3, 2019
1 parent 14ea703 commit 19bfc1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/templates/tomcat/conf/server.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
pattern="%h %l %u %t "%m %U" %s %b %D" />

<Valve className="org.apache.catalina.valves.rewrite.RewriteValve" />

<Valve className="org.apache.catalina.valves.RemoteIpValve"
protocolHeader="x-forwarded-proto"
portHeader="x-forwarded-port" />
</Host>
</Engine>
</Service>
Expand Down

0 comments on commit 19bfc1f

Please sign in to comment.