This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
To force Tomcat to redirect and revert all requested HTTP traffic over to HTTPS, configure the `conf/web.xml` file with the below block. | |
This should be placed at the very end of the file near and above the ending `</webapp>` tag: | |
--> | |
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>Automatic Forward to HTTPS/SSL | |
</web-resource-name> | |
<url-pattern>/*</url-pattern> | |
</web-resource-collection> |
NewerOlder