Skip to content


Subversion checkout URL

You can clone with
Download ZIP


ssl? method in rails not returning true when ssl is enabled. #364

FooBarWidget opened this Issue · 4 comments

1 participant


From WayneESeguin on April 20, 2009 21:04:51

What steps will reproduce the problem? 1. Enable ssl in Nginx
2. Try using ssl? in Rails. What is the expected output? What do you see instead? ssl? to return true in Rails application. It returns false :)

What version of Phusion Passenger are you using? Which version of Rails? On what operating

Passenger 2.2.1
Rails 2.3.2
Gentoo Linux x86_64 Please provide any additional information below. We tried setting x_forwarded_proto to 'https' in the nginx config to no avail.

Original issue:


From JimmyEBaker on April 23, 2009 23:05:04

bump - using Rails 2.2.2 on Ubuntu Server


From honglilai on April 24, 2009 00:01:28

Labels: -Priority-Medium Priority-Critical Milestone-2.2.2 Nginx


From honglilai on April 24, 2009 06:04:56

Issue 266 has been merged into this issue.


From honglilai on April 24, 2009 06:05:50

This has been fixed in commit 78df80d.

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.