2011年2月25日星期五

Bug in HttpSslModule?

Hi all,

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.

Thanks,
Ian

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

没有评论:

发表评论