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.

Views All Time
Views All Time
179
Views Today
Views Today
1

Leave a Reply

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