有没有办法在使用自定义域的 GitHub Pages 网站上使用 HTTPS/SSL?建议使用 SSL 以获得更好的搜索引擎排名,除此之外它还有很多其他用途。
GitHub 页面上的自定义域do支持HTTPS/SSL:
GitHub Pages 自 2009 年起就支持自定义域,并且*.github.io
域自 2016 年起就支持 HTTPS。如今,GitHub Pages 上的自定义域也获得了对 HTTPS 的支持,这意味着超过一百万个 GitHub Pages 站点将通过 HTTPS 提供服务。
https://blog.github.com/2018-05-01-github-pages-custom-domains-https/ https://blog.github.com/2018-05-01-github-pages-custom-domains-https/
-
Go to https://github.com/**username**/**repo**/settings
-
选中“强制 HTTPS”复选框:
在 2018 年 5 月 1 日之前,GitHub Pages 仅在使用*.github.io
领域:https://help.github.com/articles/secure-your-github-pages-site-with-https/ https://help.github.com/articles/securing-your-github-pages-site-with-https/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)