HTTP

ERR_TOO_MANY_REDIRECTS with Synology Application Portal

I run a few websites from a VM on my Synology NAS. The VM has the typical LAMP setup for running Wordpress and Drupal sites. As it is not exposed directly to the internet, Apache serves up all sites on port 80 and I configured the Synology "Application Portal" to forward both port 80/443 requests to it. Application Portal (nginx behind the curtain) also provides handling of SSL Certs on port 443.
So I created 2 Synology Application Portal entries - one to for serving up incoming 80 to ApacheHost:80, and one for serving up incoming 443 to ApacheHost:80.

Quickly create and implement a self signed cert for Tomcat...

Create keystore with a self signed cert

keytool -genkey -keystore /path/keystore.jks -alias selfsigned -keyalg RSA -keysize 4096 -validity 720

Enter details for cert and enter password = password123

Update Tomcat server.xml


Verify

https://192.168.1.10:8443/
Should return this:

Subscribe to HTTP