We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f96f6c commit 408dd16Copy full SHA for 408dd16
update-server-xml.sh
@@ -36,6 +36,10 @@ function set_attribute {
36
set_attribute /Server/Service/Connector relaxedPathChars "$RELAXED_PATH_CHARS"
37
set_attribute /Server/Service/Connector relaxedQueryChars "$RELAXED_QUERY_CHARS"
38
39
+# Enable request attributes so that, when using a reverse proxy, the original
40
+# client ip is recorded in logs rather than the internal proxy ip
41
+set_attribute /Server/Service/Engine/Host/Valve requestAttributesEnable "true"
42
+
43
#create RemoteIpValve if missing. this is needed so ERDDAP knows when its responding to https requests
44
#end result should look like:
45
#<Valve className="org.apache.catalina.valves.RemoteIpValve"
0 commit comments