Sending a custom response header to Mongrel when in SSL mode?

Discussion in 'Ruby/Rails' started by alaithea, Jun 19, 2006.

  1. alaithea

    alaithea New Member

    Hi, I'm trying to figure out how to add a header to give a hint to Mongrel (and the Rails application) that we're in SSL mode. In documentation for configuring this with other servers, it looks like this:
    Code:
    # pass along https hint
    AddHeader "X-Forwarded-Proto: https" 
    HeadRemove "X-Forwarded-Proto"
    Is there a way to do this with Litespeed? Thanks.
  2. mistwang

    mistwang LiteSpeed Staff

    It is not possible with current LiteSpeed proxy interface. Will add that extra header for https request automatically in 2.1.17 release.

Share This Page