2

I want to set the HSTS header on Wildfly. I haven't found any specific method to do this, so my first approach would be setting it manually via an undertow filter:

<filters>
 <response-header name="headers" header-name="Strict-Transport-Security" header-value="max-age=31536000"/>
</filters>

Is this the proper way to go or is there a better way to enable HSTS on Wildfly?

Demento
  • 121
  • 1
  • 4

0 Answers0