I was about to write a long post about how I couldn't get request.ssl?to work 
in Rails behind Pound and Mongrel, but then I figured it out.
In your pound.cfg file, just add:
HTTPSHeaders 1 "X-Forwarded-Proto: https"
Assuming you've got Pound working correctly with SSL, this will giveRails the 
header it's looking for.
If there's any interest in a Debian setup of Mongrel + Lighty behindPound, I'd 
be happy to write down what I did. The only reasons I'meven using Lighty is 
because I couldn't figure out how to add Expireheaders to static content in 
Mongrel and because I need PHP for Mint.
Joshhttp://shnoo.gr
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to