Heroku CloudFlare没有这样的应用程序 [英] Heroku CloudFlare No Such App
问题描述
我读了这两篇文章
https://robots.thoughtbot.com/set- up-cloudflare-free-ssl-herher http://www.higherorderheroku.com/articles/cloudflare-dns-heroku/
并尝试将Cloudflare与Heroku一起使用:
And trying to use Cloudflare with Heroku:
我已按照指示设置了2个CNAME:
I have set the 2 CNAME as indicated:
www-> myherokudomain.herokuapp.com
www -> myherokudomain.herokuapp.com
mydomain.com-> myherokudomain.herokuapp.com
mydomain.com -> myherokudomain.herokuapp.com
并相应地设置DNS,它可以与cloudflare一起正常工作
And set the DNS accordingly, which work correctly with cloudflare
curl -I mydomain.com
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Server: cloudflare-nginx
但是我仍然得到"Heroku没有这样的应用程序".
But I am still getting a "Heroku no such app".
有人遇到同样的问题吗?
Anyone having the same issue?
推荐答案
您的heroku应用需要具有自定义域插件才能运行.
Your heroku app needs to have the custom domain addon for this to work.
https://devcenter.heroku.com/articles/custom-domains
这篇关于Heroku CloudFlare没有这样的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!