Heroku SSL端点 - “无此应用程序” [英] Heroku SSL Endpoint - "No Such App"

查看:117
本文介绍了Heroku SSL端点 - “无此应用程序”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我进入我的herokussl.com网址时(在添加证书和Heroku SSL端点之后),有什么想法可能会导致No Such App我遵循这里的指示( https://devcenter.heroku.com/articles/ssl-endpoint ) ,并获得了一个herokussl.com网址。



我真的不认为这是一个DNS问题 - 因为我甚至没有进入这一步。

解决方案

看来你不能通过herokussl.com直接访问网站 - 这有点合理,因为他们已经在herokuapp上提供了通配符ssl。 COM。我刚刚在一个生产站点尝试过,我使用SSL,如果直接访问herokussl.com域名,就会得到相同的No Such App。



如果您将您的自定义域CNAME记录到提供的herokussl.com域或从 heroku certs 中,并确保您已通过 heroku域名:添加< customdomain> 然后它可以正常工作。


Any ideas why I might be getting the "No Such App" error when I go to my herokussl.com URL (after adding a cert and Heroku SSL endpoint)?

I followed the instructions here (https://devcenter.heroku.com/articles/ssl-endpoint), and got a herokussl.com URL.

I really don't think it's a DNS issue - as I haven't even gotten to that step.

解决方案

It appears you can't access sites directly through the herokussl.com - which kinda makes sense, since they already provide wildcard ssl on herokuapp.com. I've just tried this with a production site I have which uses SSL and get the same "No Such App" if i access the herokussl.com domain directly.

If you CNAME your custom domain to the herokussl.com domain that were provided or from heroku certs and make sure you've added the custom domain to your application via heroku domains:add <customdomain> then it works fine.

这篇关于Heroku SSL端点 - “无此应用程序”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆