Heroku Custom Domain SSL Warning

醉酒当歌 提交于 2019-12-04 04:56:56

Are you forwarding traffic from your domain to yourapp.herokuapp.com?

Not sure from your question if you fully understand the difference between forwarding and using your own name servers (DNS).

I'm guessing the reason your getting the https error is because you're forwarding to https.

I'd use the zerigo add-on, it really simplifies everything. Instead of using forwarding, you'd point your domain to Zerigo's DNS.

https://devcenter.heroku.com/articles/zerigo_dns

Renars Sirotins

Thanks mc6688. Tried zerigo. I needed my app to be reached from root domain as well as from subdomain like www. And zerigo solves that.

However Sasha`s problem is not related with DNS but SSL. There are two ways to solve this problem depending on your needs:

  1. If you are ok using http then in your app's environments/production.rb there must be following configuration config.force_ssl = false which by default is true. Change it to false. If Firefox still complains then reset it. Other browsers should be ok.

  2. But if you need https then you have to use your own (and not heroku`s) certificate through SSL addon which is paid service.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!