SEO Scan Instant

HTTP 头检测

查看服务器发送的响应头,并检查主要安全头。

HTTP 头的作用

响应头是服务器随每个页面发送的指令。它们控制缓存、压缩、安全规则以及浏览器如何处理您的内容。

值得添加的安全头

  • Strict-Transport-Security:之后的访问强制使用 HTTPS
  • Content-Security-Policy:限制可以运行的脚本
  • X-Content-Type-Options: nosniff
  • X-Frame-Options 或 frame-ancestors:防止点击劫持
  • Referrer-Policy:控制其他网站能看到您页面的哪些信息