Bug in HttpSslModule?

Maxim Dounin mdounin at mdounin.ru
Sat Feb 26 01:54:15 MSK 2011


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



More information about the nginx mailing list