[squid-users] FW: X_FORWARDED_PROTO Support?

From: Visser, Peter \(ZGM\) <Peter.Visser_at_zehndergroup.com>
Date: Fri, 13 Aug 2010 14:25:24 +0200

Hi,

I am using Squid as a reverse proxy/SSL gateway. Clients can connect with HTTP and HTTPS. All internal connections to the webserver use HTTP. This way the proxy acts as a SSL off loader.

Now an application I use, Roundcube webmail, which has the option of redirecting to HTTPS when using HTTP. But since all connection to webserver all always HTTP the application gets stuck in a loop. Since it will try to redirect and the proxy will undo the redirect.

I found out that one way to solve this would be to use the x-forwarded-proto field so that the web application can recognize if the client is using SSL or not.

Is there a way to get Squid to send this option (besides x-forwarded-for) to the web server? I search on the web but no luck so far.

Thanks in advance,

Peter
Received on Fri Aug 13 2010 - 12:25:45 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 13 2010 - 12:00:02 MDT