DX links are not in https

  Written by The Jahia Team
 
Sysadmins
   Estimated reading time:
7.1.1.0
DX is accessed with the HTTPS scheme but the generated links in the page are in HTTP

Cause

A front-end (Apache2/Nginx/IIS) is used and Tomcat does not receive the scheme

Solution

  1. In the front-endn check that the header X-Forwarded-Proto is set to https
  2. Add the RemoteIpVale to the Tomcat configuration file TOMCAT_HOME/conf/server.xml and restart:
<Valve
        className="org.apache.catalina.valves.RemoteIpValve"
        remoteIpHeader="X-Forwarded-for"
        proxiesHeader="X-Forwarded-by"
        protocolHeader="X-Forwarded-proto"
/>