【发布时间】:2013-11-08 13:22:43
【问题描述】:
我在 Heroku 上使用 Thin Web 服务器通过 SSL 运行 Rails 应用程序时遇到了一些问题。我认为可能导致我的问题的一件事是我没有使用 ssl 启动瘦服务器(如显示的here 和here)。但是,我不知道在 Heroku 上使用 ssl 启动瘦服务器的正确语法。以下是我尝试过的不同的 procfile 变体:
web: thin start --ssl -p $PORT
web: bundle exec thin start --ssl -p $PORT
web: bundle exec rails s thin --ssl -p $PORT
web: thin start --ssl
【问题讨论】:
标签: ruby-on-rails ssl heroku thin procfile