【发布时间】:2011-05-31 08:29:18
【问题描述】:
所以我像这样瘦了:
thin start --ssl
那我去
https://localhost:3000/
有一个虚拟控制器操作:
logger.warn root_url
输出是
http://localhost:3000/
不应该是https吗?
【问题讨论】:
标签: ruby-on-rails protocols thin
所以我像这样瘦了:
thin start --ssl
那我去
https://localhost:3000/
有一个虚拟控制器操作:
logger.warn root_url
输出是
http://localhost:3000/
不应该是https吗?
【问题讨论】:
标签: ruby-on-rails protocols thin
这是哪个版本的 Rails?
我只能说,我收到“https://localhost:3090/...”,而且我使用的是 Rails 3.1.0.rc1(edge - 今天更新)。
config/routes你有什么特别的吗?
也许config.force_ssl 选项会改变您的情况? (我怀疑)
【讨论】: