【发布时间】:2011-08-05 20:22:17
【问题描述】:
我的 Rails 3 应用程序中有一个操作,我正在使用 authenticate_or_request_with_http_basic 进行密码保护。在我的开发机器上工作正常,但它没有在生产服务器上提示输入 http_basic 用户/密码。
整个生产应用程序通过 nginx 上的 https/SSL 运行。
我在哪里可以解决这个问题? http 基本身份验证不能通过 SSL 工作吗?或者是否有我需要查看的 nginx 设置?
TIA
【问题讨论】:
标签: ruby-on-rails authentication https nginx