You are looking at documentation for an older release. Not what you want? See the current release documentation.
The tomcat configuration must be adapted to be used behind a http frontend.
server.xml
file, add or edit a HTTP connecter :
<Connector address="127.0.0.1" scheme="http" secure="false" proxyName="community-qa.exoplatform.com" port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" enableLookups="false" redirectPort="8443" bindOnInit="false" connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8" compression="off" compressionMinSize="2048" noCompressionUserAgents=".*MSIE 6.*" compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript" />
The complete documentation of the Tomcat connector can be found https://tomcat.apache.org/tomcat-7.0-doc/config/http.html
scheme
https
, specify https
otherwisesecure
true
, specify false
otherwiseproxyName
bindOnInit
false
to avoid the connector to be started before eXo Platform was completely deployed and ready to respond.Engine
/ Host
of the server.xml
, add this definition:
<Valve className="org.apache.catalina.valves.RemoteIpValve" internalProxies="127.0.0.1" remoteIpHeader="x-forwarded-for" proxiesHeader="x-forwarded-by" protocolHeader="x-forwarded-proto" />
Parameters
internalProxies
*Header
The complete documentation of the RemoteIpHeader
is available here
See also