Cannot force HTTPS over HTTP

 
Author
Message
SysAider
13
 
We have enabled SSL on our sysaid server, as we are planning to open the server up to networks outside of our company network. This way we can use the mobile app and push notifications.

But before we open the server, we want to force the usage of HTTPS, so only secure connections are allowed.

Our http port is 9090 and our https port is 8443.

Current situation in the server.xml file is:


What should I change to this piece of code so HTTP doesn't work and automatically redirects to https?

Thanks in advance!