ssl - 是否可以在具有自定义域的 GitHub Pages 站点上使用 HTTPS/SSL?

标签 ssl github github-pages

有没有办法在使用自定义域的 GitHub Pages 站点上使用 HTTPS/SSL?建议使用 SSL 以获得更好的搜索引擎排名,除此之外还有很多其他用途。

最佳答案

GitHub Pages 上的自定义域确实支持 HTTPS/SSL:

GitHub Pages has supported custom domains since 2009, and sites on the *.github.io domain have supported HTTPS since 2016. Today, custom domains on GitHub Pages are gaining support for HTTPS as well, meaning over a million GitHub Pages sites will be served over HTTPS.

https://blog.github.com/2018-05-01-github-pages-custom-domains-https/

  1. 转到 https://github.com/**username**/**repo**/settings

  2. 选中“强制 HTTPS”复选框:

Enforce HTTPS


2018 年 5 月 1 日之前,GitHub Pages 仅在使用 *.github.io 域的站点上支持 SSL:https://help.github.com/articles/securing-your-github-pages-site-with-https/

关于ssl - 是否可以在具有自定义域的 GitHub Pages 站点上使用 HTTPS/SSL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42172216/

相关文章:

ruby - 在 Rack::Static 网站上强制使用 SSL

reactjs - 将React项目部署到github页面面临公共(public)文件夹中图像的问题

javascript - 使用 javascript 在 github 页面上写入文件

python - 在 ubuntu 12.10 上使用 https 和 python 2.7 时出现 urlopen 错误 [Errno 110]

apache - mod_rewrite 在 apache24 中强制使用 ssl

Github 发布/标签未在本地显示?

git - git 有 'social' 扩展吗?还是远程监控工具?

git - 如何从项目文档创建 Github 页面?

ASP.NET 站点通过 SSL 从 Visual Studio 而不是 IIS 连接到远程

git - 为什么ls在GitShell中工作,而ls -a或ls -la无法工作?