Redirecionamento 301 e HSTS no .htaccess
Mudei um site para https e configurei um redirecionamento no .htaccess. Mas também defini Segurança de transporte estrita. São necessários ou úteis?
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=16070400"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
Felicidades