2011年2月25日星期五

Re: Bug in HttpSslModule?

Hello!

On Fri, Feb 25, 2011 at 01:54:39PM -0800, Ian Young wrote:

> I think I've found a bug in the HttpSslModule. We're running Rails
> (Passenger) with Nginx and need to check if the current request is
> SSL. To do this, Rails needs "HTTPS: on" set in the environment.
>
> In our nginx.conf, using the preferred syntax "listen 443 default
> ssl;" does not set this correctly. However, "listen 443; ssl on;"
> does. I haven't found any other reports of this problem. Most
> examples of nginx+rails+ssl use the old syntax.

Looks like passenger problem. You may want to report it passenger
folks instead.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论