Hi all -

I’m having some behavior that i can’t track down and I’m not sure if
this is an Apache problem, a mongrel problem or neither.

Anyway - in my production setting I have two Apache 2.2 proxy servers
pointing to two servers running mongrel instances.

In my SSL.conf file I have this:

RequestHeader set X_FORWARDED_PROTO ‘https’

It seems that if I reboot apache or reboot the mongrel instances
without rebooting both in sequence that this proto value gets
corrupted and request.ssl? in rails stops working properly. It’s as
if request.ssl? is coming in incorrectly.

Just wondering if anyone has seen this behavior before.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs