... |
... |
@@ -104,8 +104,11 @@ |
104 |
104 |
{{code language="none"}} |
105 |
105 |
<Engine...... |
106 |
106 |
<Valve className="org.apache.catalina.valves.RemoteIpValve" |
|
107 |
+ internalProxies="<IP's of the trusted proxy server>" |
107 |
107 |
remoteIpHeader="x-forwarded-for" |
108 |
108 |
protocolHeader="x-forwarded-proto" |
109 |
|
- protocolHeaderHttpsValue="https" /> |
|
110 |
+ protocolHeaderHttpsValue="https" ></Engine> |
110 |
110 |
</Engine> |
111 |
111 |
{{/code}} |
|
113 |
+ |
|
114 |
+**Note:** If the configuration of the //X-Forwarded// header does not work, it may be necessary to configure the IPs of the trustworthy proxy servers in the //internalProxies// property. One or more IP addresses or an IP address range is expected here, which can be defined using a regular expression (e.g .: 169\.254\.\d{1,3}\.\d{1,3}). |