php enable hsts

<?php 
header("strict-transport-security: max-age=100");

Without https you will get NET::ERR_CERT_AUTHORITY_INVALID error:
You cannot visit website.com right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.

Leave a Reply

Your email address will not be published. Required fields are marked *