How to add strict-transport-security header to a Grails Application
<p>I have a groovy code running on Grails server. How do i configure it for HSTS ? I looked through Groovy specs there is nothing i found useful. </p>

<p>This is what I want to achieve</p>

<p>When I look at any HTTP Response from the server. I must see a header such as below</p>

<pre><code>Strict-Transport-Security: max-age=31536000
</code></pre>

<p>Can you please suggest some pointers ? </p>