Displaying 1 result from an estimated 1 matches for "giverail".
Did you mean:
liverail
2006 May 15
0
Mongrel and ssl? behind Pound
...out 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 cont...