Welcome! Log In Create A New Profile

Advanced

Bug in HttpSslModule?

Ian Young
February 25, 2011 04:58PM
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
Subject Author Posted

Bug in HttpSslModule?

Ian Young February 25, 2011 04:58PM

Re: Bug in HttpSslModule?

Maxim Dounin February 25, 2011 05:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 167
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready