ssl
url
valve
Jahia 7.3
Jahia 8
Jahia links are not in https
Question
Jahia is accessed with the HTTPS scheme but the generated links in the page are in HTTPAnswer
- Add the
RemoteIpValeto the Tomcat configuration fileTOMCAT_HOME/conf/server.xmland restart:<Valve className="org.apache.catalina.valves.RemoteIpValve" remoteIpHeader="X-Forwarded-for" proxiesHeader="X-Forwarded-by" protocolHeader="X-Forwarded-proto" protocolHeaderHttpsValue="https" /> - In the front-endn check that the header
X-Forwarded-Protois set tohttps
- For Apache 2, add the following lines into your VirtualHost config:
RemoteIPHeader X-Forwarded-For RequestHeader set X-Forwarded-Proto "https"Please see a fully detailed example at Apache2 front-ends
- For F5, follow the procedure that explained how to insert the
X-Forwarded-Proto:httpsHTTP header on this page https://support.f5.com/csp/article/K43444200
- For Apache 2, add the following lines into your VirtualHost config: