Search squid archive

FW: X_FORWARDED_PROTO Support?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux