Last active
December 12, 2016 15:13
-
-
Save l2dy/4ff48ab08ac49690a282a69b671a6fa5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| server.xml: | |
| <Connector port="8080" protocol="HTTP/1.1" secure="true" /> | |
| web.xml: | |
| <filter> | |
| <filter-name>httpHeaderSecurity</filter-name> | |
| <filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class> | |
| <init-param> | |
| <param-name>hstsMaxAgeSeconds</param-name> | |
| <param-value>31536000</param-value> | |
| </init-param> | |
| <async-supported>true</async-supported> | |
| </filter> | |
| <filter-mapping> | |
| <filter-name>httpHeaderSecurity</filter-name> | |
| <url-pattern>/*</url-pattern> | |
| <dispatcher>REQUEST</dispatcher> | |
| </filter-mapping> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment