ninety-seven
Tomcat automatically jumps to HTTPS

1. Find the web in the conf directory@ The xml file follows

2. Open the file and add such a paragraph to the penultimate paragraph



CLIENT-CERT
Client Cert Users-only Area




SSL
/*


CONFIDENTIAL

3. This step aims to make non ssl connectors jump to ssl connectors. So you also need to go to the server@ Xml for configuration:

 port="8080" protocol="HTTP/1.1"

connectionTimeout="20000"

redirectPort="443" />

RedirectPort is changed to port 443 of the ssl connector. It will take effect after restart.

Does this help solve your problem? resolved Unresolved

Submitted successfully! Thank you very much for your feedback, and we will continue to strive to do better! We are sorry that we were unable to resolve your question. We have received your feedback and will give feedback in time!