Created
December 4, 2017 14:24
-
-
Save finsterwalder/636a05514ebbe1a69fe3db44e8bf916a to your computer and use it in GitHub Desktop.
JBoss AS7 / EAP 6 CLI Configuration for x-forwarded header recognition
This file contains hidden or 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=web/valve=RemoteIPValve/:add(module=org.jboss.as.web, class-name=org.apache.catalina.valves.RemoteIpValve) | |
/subsystem=web/valve=RemoteIPValve:add-param(param-name=remoteIpHeader,param-value=x-forwarded-for) | |
/subsystem=web/valve=RemoteIPValve:add-param(param-name=protocolHeader,param-value=x-forwarded-proto) | |
/subsystem=web/valve=RemoteIPValve:add-param(param-name=protocolHeaderHttpsValue,param-value=https) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment