GitHub Pages搭配Let's Encrypt的HTTPS重定向失效问题求助
我持有example.com和example.org两个域名。
目前配置的所有跳转在HTTP及部分HTTPS场景下均按预期运行:
HTTP://www.example.com redirects to HTTPS://www.example.org (as expected) HTTP://example.com redirects to HTTPS://www.example.org (as expected) HTTP://www.example.org redirects to HTTPS://www.example.org (as expected) HTTP://example.org redirects to HTTPS://www.example.org (as expected) HTTPS://example.org redirects to HTTPS://www.example.org (as expected)
但使用HTTPS时的部分跳转无法正常工作,初步判断原因是未向CA(GitHub Pages集成使用的Let's Encrypt服务)证明自身对example.com的所有权。
当前需要实现的HTTPS跳转规则为:
HTTPS://www.example.com should redirect to HTTPS://www.example.org HTTPS://example.com should redirect to HTTPS://www.example.org
之前看到的同类型跳转需求相关讨论和自身场景匹配,但内容偏底层运维、超出理解范围,不清楚如何在GitHub Pages搭配Namecheap域名解析的组合场景下完成对应配置。
内容的提问来源于stack exchange,提问作者Ezra
相关产品推荐
相关产品推荐

