lucee / lucee-dockerfiles

Official Lucee Dockerfiles for Docker Hub build images
https://hub.docker.com/u/lucee/
MIT License
86 stars 50 forks source link

Add remote IP header; X-Forwarded-For #27

Closed modius closed 8 years ago

modius commented 8 years ago

for the lucee base images we need to update the tomcat server.xml to add this inside the <Host> element:

<Valve className="org.apache.catalina.valves.RemoteIpValve"
               remoteIpHeader="X-Forwarded-For"
               requestAttributesEnabled="true" />