| 326 | root@debian9:/var/lib/tomcat8/conf# vim web.xml |
| 327 | @@ -391,18 +391,6 @@ |
| 328 | |
| 329 | <!-- agregado para redirigir trafico HTTP a HTTPS --> |
| 330 | <security-constraint> |
| 331 | <web-resource-collection> |
| 332 | <web-resource-name>Protected Context</web-resource-name> |
| 333 | <url-pattern>/*</url-pattern> |
| 334 | </web-resource-collection> |
| 335 | <!-- auth-constraint goes here if you requre authentication --> |
| 336 | <user-data-constraint> |
| 337 | <transport-guarantee>CONFIDENTIAL</transport-guarantee> |
| 338 | </user-data-constraint> |
| 339 | </security-constraint> |
| 340 | |