Search squid archive

add header for https requests that are served to an upstream http server

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

 



So we are moving from an F5 LB to an AWS ELB. In the F5 we have a irule that inserts a header that our origin servers looks for so they can return https urls.

The ELB and Squid combination ends up rewritting the x_forward_proto header

from 
HTTP_X_FORWARDED_PROTO: https
to
HTTP_X_FORWARDED_PROTO: http

So my origin, or back end server does not know that the request came into Squid as https and that breaks the application. 
I need to figure out how to keep the x_forwarded_proto header in tact, or I need to know how to add a custom header if the original r
x_forwarded_proto header is https

There appears to be a "request_header_add" but I'm unclear how to use it. Any assistance would be appreciated.

I'm running 3.5.x

Thanks
Tory
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux