https站点开启HSTS

开启HSTS1.需要先将HTTP强制跳转到HTTPS链接2.Apache与Nginx需要添加在监听的443端口的配置文件.Vestacp是在snginx.conf里面. Apache 编辑站点配置文件在443端口区修改为以下内容 Lighttpd增加到Lighttpd 配置文件:/etc/lighttpd/lighttpd.conf NginxNginx最为简单,在server_name下面另起一