Comment 8 for bug 260547

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 260547] Re: start-loggerhead script doesn't properly set the wsgi.url_scheme from the server.webpath option

Robert Collins wrote:
> On Mon, 2009-03-02 at 20:11 +0000, Michael Hudson wrote:
>> Well, I don't think there's any way loggerhead can know it's running
>> over https here
>
> There is a "standard" for this. OWA has the same trouble, MS put a
> header 'Front-End-Https: On' into requests received on HTTPS and
> forwarded to a HTTP backend.
>
> squid supports this (front-end-https in the peer flags) :P. For apache,
> probably manually configure it.

Yeah, we add an X-Forwarded-Scheme for launchpad for this. If
"front-end-https" is a semi standard though, let's use that.

Cheers,
mwh