HSTS - 生活之路

web server开启HSTS

1 在 Apache2 中设置 HSTS 编辑你的 apache 配置文件 httpd.conf ,并加以下行到你的 HTTPS VirtualHost: