Created
December 4, 2017 14:26
-
-
Save finsterwalder/04021dabc05e21312cb61c769b2217fd to your computer and use it in GitHub Desktop.
JBoss AS7 / EAP 6 configuration for x-forwarded header recognition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subsystem xmlns="urn:jboss:domain:web:2.2" … > | |
… | |
<valve name="RemoteIPValve" module="org.jboss.as.web" class-name="org.apache.catalina.valves.RemoteIpValve"> | |
<param param-name="remoteIpHeader" param-value="x-forwarded-for"/> | |
<param param-name="protocolHeader" param-value="x-forwarded-proto"/> | |
<param param-name="protocolHeaderHttpsValue" param-value="https"/> | |
</valve> | |
</subsystem> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment