--- title: Ask Browsers to Access Your Site via HTTPS Only with helmet.hsts() localeTitle: 要求浏览器通过HTTPS访问您的站点仅限于使用helmet.hsts() --- ## 要求浏览器通过HTTPS访问您的站点仅限于使用helmet.hsts() 这是一个存根。 [帮助我们的社区扩展它](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/information-security-and-quality-assurance/information-security-with-helmetjs/ask-browsers-to-access-your-site-via-https-only-with-helmet.hsts/index.md) 。 [这种快速风格指南有助于确保您的拉取请求被接受](https://github.com/freecodecamp/guides/blob/master/README.md) 。