Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions update-server-xml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ function set_attribute {
set_attribute /Server/Service/Connector relaxedPathChars "$RELAXED_PATH_CHARS"
set_attribute /Server/Service/Connector relaxedQueryChars "$RELAXED_QUERY_CHARS"

# Enable request attributes so that, when using a reverse proxy, the original
# client ip is recorded in logs rather than the internal proxy ip
set_attribute /Server/Service/Engine/Host/Valve requestAttributesEnable "true"

#create RemoteIpValve if missing. this is needed so ERDDAP knows when its responding to https requests
#end result should look like:
#<Valve className="org.apache.catalina.valves.RemoteIpValve"
Expand Down
Loading