Skip to content

Commit

Permalink
Merge pull request #13362 from lashinijay/remoteIpValve_config
Browse files Browse the repository at this point in the history
Modify `catalina-server.xml.j2` to add custom remoteIpValve properties
  • Loading branch information
somindatommy authored Mar 31, 2022
2 parents 8069434 + 75c92ba commit 0489ea8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
protocolHeader="{{catalinaValves.remoteIpValve.protocolHeader}}"
proxiesHeader="{{catalinaValves.remoteIpValve.proxiesHeader}}"
trustedProxies="{{catalinaValves.remoteIpValve.trustedProxies}}"
{% for property,value in catalinaValves.remoteIpValve.properties.items() %}
{{property}}="{{value}}"
{% endfor %}
/>
{% endif %}
<Valve className="org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve"
Expand Down

0 comments on commit 0489ea8

Please sign in to comment.