Created
November 24, 2017 14:59
-
-
Save apuravchauhan/9aa18ca39a3d99b8d54f090279b981d3 to your computer and use it in GitHub Desktop.
Tomcat's server.xml with RemoteIpValve settings snippet
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
. | |
. | |
. | |
. | |
<Engine defaultHost="localhost" name="Catalina"> | |
<Valve className="org.apache.catalina.valves.RemoteIpValve" | |
internalProxies="127\.0\.[0-1]\.1" | |
remoteIpHeader="x-forwarded-for" | |
requestAttributesEnabled="true" | |
protocolHeader="x-forwarded-proto" | |
protocolHeaderHttpsValue="https"/> | |
. | |
. | |
. | |
. | |
. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment