且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将网站从HTTP迁移到HTTPS

更新时间:2023-09-13 19:09:10

如何迁移到HTTPS 是一种出色的迁移方式。步骤如下:

How to migrate to HTTPS is an excellent migration howto. The steps are:


  1. 获取并安装证书

  2. 在服务器上启用HTTPS

  3. 建立站内网址相对

  4. 将HTTP重定向到HTTPS

  5. 启用严格的传输安全性和安全cookie

  1. Get and install certificates
  2. Enable HTTPS on your servers
  3. Make intra-site URLs relative
  4. Redirect HTTP to HTTPS
  5. Turn on strict transport security and secure cookies

在步骤3和步骤4之间,运行 Qualys的***做法测试您的网站

Between step 3 and step 4, run through Qualys' best practices and test your site.