首页 > 解决方案 > 带有 cloudflare 的 Heroku 子域“重定向太多”

问题描述

我有三个 heroku 应用程序,都在同一个域下,两个是子域。

这是我的heroku设置:

在此处输入图像描述

还有我的 cloudflare 设置:

在此处输入图像描述

SO上的一些答案建议在cloudflare上将SSL更改为“完整”而不是“灵活”,但这会导致525只能通过使用原始证书来解决。我的爱好 dyno 是用于生产的,我不想支付额外的费用来调试应该自己运行的东西(不能在免费应用程序上使用 SSL)。

https://help.heroku.com/GVS2BTB5/why-am-i-getting-error-525-ssl-handshake-failed-with-cloudflare-when-using-a-herokudns-com-endpoint

标签: httpherokudnssubdomaincloudflare

解决方案


推荐阅读