Bug in HttpSslModule?
ian.greenleaf at gmail.com
Sat Feb 26 00:54:39 MSK 2011
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.
More information about the nginx