5
GitHub Pages 自定义域名开始支持 https
source link: https://arminli.com/github-pages-support-https/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Armin's Blog
GitHub Pages 自定义域名开始支持 https
May 03, 2018
GitHub 从昨天开始为自定义域名支持 HTTPS,这就方便了许多,不需要再去 cf 配置 https,按照官方教程:https://help.github.com/articles/setting-up-an-apex-domain/ 可以很方便地配上小绿锁,但这里有一个问题需要注意一下。
在 repo 中重新添加 custom domain 时,首先清空保存后必须等待网站 publish 到 xxx.github.io 后,才能再次添加你的域名。否则如果删掉后马上再添加会说你的配置不对( Unavailable for your site because your domain is not properly configured to support HTTPS),强制 https 框框是灰色的,无法选中,我搞了两天才发现是这个原因。我已经向 GitHub 团队反应这个问题。
另外如果你配置好 https 后发现没有小绿锁,那一般是因为站点上有资源是 http 的。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK