How to set "Strict-Transport-Security"?

Hello,
I added below line to “httpd.conf” file:

LoadModule headers_module modules/mod_headers.so

And I added below line to Virtual Host file:

<VirtualHost *:80>
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomain; preload"
ServerAdmin root@localhost
ServerName www.example.net
ServerAlias www.example.net
...

Is it OK?

Thank you.

This is NOT a question (directly) related to anything covered by this forum.

2 Likes