directadmin如何开启HSTS

在.htaccess文件里面加入
Header set Strict-Transport-Security “max-age=31536000” env=HTTPS