Rails 3 SSL on Heroku
I am currently developing am e-commerce app in Rails 3.0.9 and it is hosted on Heroku.
Ideally I would like to set 'Hostname based SSL' (http://addons.heroku.com/ssl), but Heroku charges a fee of $20/month which seems a bit steep for me right now.
Heroku does offer a free SSL solution by piggybacking off their certificate, however you would have to use their domain (https://yourapp.heroku.com)
I was thinking I would direct my payment page to this URL and then redirect the user back to my custom URL after the transaction has been processed. The problems I'm have with using this solution are:
Unless someone can suggest an alternate solution altogether?
Thanks
喜欢这个?
url_for(:only_path => false, :host => 'your-app.heroku.com', :protocol => :https)
链接地址: http://www.djcxy.com/p/60100.html
上一篇: Heroku Rails应用程序集成了一个Bluehost Wordpress网站
下一篇: Rails 3 Heroku上的SSL