Tomcat can be configured to support compression to increase the performance of the web application:
Open the file Tomcat/conf/server.xml and locate the connector:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Change the entry to:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" compression="on" compressionMinSize="256" compressibleMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,image/svg+xml" redirectPort="8443" />
Restart Tomcat.
If there is a proxy in front of the Tomcat server, expecting https traffic, you have to modify your Apache Tomcat to redirect http traffic to https.
Go to your Tomcat installation - For instance: C:\Program Files\Canto\Cumulus Web Solutions\apache-tomcat-8.5.33\conf and open the server.xml with a text editor.
Find the Connector port in the file - by default it looks like this:
<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Insert the proxy name and port. For instance:
<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" proxyName="proxy.yourdomain.dk" proxyPort="443" redirectPort="8443" scheme="https" secure="true" />
Save the server.xml and restart your Tomcat (Cumulus Web Solutions) service to apply your changes