<div dir="ltr"><div class="gmail_extra">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.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The ELB and Squid combination ends up rewritting the x_forward_proto header</div><div class="gmail_extra"><br></div><div class="gmail_extra">fromĀ </div><div class="gmail_extra"><pre style="color:rgb(0,0,0)">HTTP_X_FORWARDED_PROTO: https
</pre><pre style="color:rgb(0,0,0)">to</pre><pre style="color:rgb(0,0,0)"><pre>HTTP_X_FORWARDED_PROTO: http</pre><pre><br></pre><pre>So my origin, or back end server does not know that the request came into Squid as https and that breaks the application. </pre><pre>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</pre><div>x_forwarded_proto header is https</div><div><br></div><div>There appears to be a "request_header_add" but I'm unclear how to use it. Any assistance would be appreciated.</div><div><br></div><div>I'm running 3.5.x</div><div><br></div><div>Thanks</div><div>Tory</div></pre></div></div>