Port forward apache https to tomcat https

Port forward apache https to tomcat https or port forward 443 to 8443


If you are running both apache and tomcat server in your VPS then you might be using mod proxy to forward request to port 80 to 8080, but once you have installed the SSL Certificate then you might need to generate it for both apache server and tomcat server and need to forward port 443 to port 8443. This is the same procedure as the previous one except for some additional configurations. The following config can be added to a conf file to port forward apache https to tomcat https, you can look at this post for more details on generating the SSL certificate for both the servers. Just make sure ProxyPass and ProxyPassReverse has ‘/’ at the end of URL

Note on: SuexecUserGroup add www-data www-data for ubuntu, and apache apache for cent os