<div dir="ltr">Hi all,<div><br></div><div>I'm trying to use Squid (3.5.27, in a docker container) as a non-caching reverse proxy with http inbound and https outbound, to support an application that requires a proxy for internet access but does not allow proxy configuration (and I do not have access to the application's host machine). Ideally the squid proxy itself would not have a tls cert, since inbound traffic would be http, and I would like to add headers.</div><div><br></div><div>What keeps stopping me is that I also need to support a parent forward proxy, which itself may support http or https inbound.</div><div><br></div><div>I've tried the various examples <a href="https://wiki.squid-cache.org/SquidFaq/ReverseProxy" target="_blank">here</a>, but I'm struggling to "flip" the proxy direction - receive the request as a reverse proxy, configure the outbound request appropriately, and then send it on *via* the parent proxy. I'm not sure if cache_peers can be "chained" like this, or if they can't, how I can configure the single cache_peer so that proxied https works correctly.</div><div><br></div><div>This is my first foray into complex proxy configuration, so I'm not sure whether I'm close or completely off base. Can provide more details or try any suggestions.</div><div><br>Thanks!</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><p><span style="font-family:Titillium Web,sans-serif"><span style="font-size:16px"><strong><span style="color:#0e3179">Joel Howard</span></strong></span></span><br>
<span style="font-size:9.5pt"><span style="font-variant:normal"><span style="white-space:pre-wrap"><span style="font-family:'Titillium Web',sans-serif"><span style="font-style:normal"><span style="text-decoration:none"><font color="#444444">Software Technical Lead</font><br>
<font color="#1155cc"><a href="mailto:jhoward@tetrascience.com" target="_blank">jhoward@tetrascience.com</a></font><font color="#0e3179"><b> </b></font></span></span><span style="color:#0e3179"><span style="font-weight:400"><span style="font-style:normal"><span style="text-decoration:none">| </span></span></span></span></span></span></span></span><span style="font-size:9.5pt"><span style="font-variant:normal"><span style="white-space:pre-wrap"><span style="font-family:'Titillium Web',sans-serif"><span style="color:#30c2dc"><span style="font-weight:400"><span style="font-style:normal"><span style="text-decoration:none">(330) 209-5779</span></span></span></span></span></span></span></span></p>
<p><a href="http://www.tetrascience.com" style="text-decoration:none" target="_blank"><span style="font-size:9.5pt"><span style="font-variant:normal"><span style="white-space:pre-wrap"><span style="font-family:'Titillium Web',sans-serif"><span style="color:#1155cc"><span style="font-weight:400"><span style="font-style:normal"><span style="text-decoration:underline"><span><span><span style="border:none"><span style="display:inline-block"><span style="overflow:hidden"><span style="width:178px"><span style="height:44px"><img alt="Logo
Description automatically generated" height="44" src="https://lh6.googleusercontent.com/NzD4TDBZin8qsiofYSBUmepyA3NIethFmH54EZqL1zIO_n2igLduDxcf8jP6TpJpCtrOxiKjyF4gb3AP9YjicjlelgYbr_h5BePagIxgGxYV6HtzQV00zZM9M_FrPXBMxd8wGwP1" width="178"></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></a> </p>
<p style="line-height:1.2;background-color:#ffffff"><a href="https://www.linkedin.com/company/tetrascience" style="text-decoration:none" target="_blank"><span style="font-size:11pt;font-variant:normal;white-space:pre-wrap"><span style="font-family:Arial"><span style="color:#1155cc"><span style="font-weight:400"><span style="font-style:normal"><span style="text-decoration:none"><span style="border:none"><span style="display:inline-block"><span style="overflow:hidden"><span style="width:23px"><span style="height:23px"><img height="23" src="https://lh6.googleusercontent.com/QqR_YmXdk5xxe5Een_XDRU7bl8KxoHWaxortR-u_jTs7hwoI8DY89fTS5Lsn8WEjAd-NMZnu1LjutVTx15_1nA4FzfTtHc8esaIUU2fAlpEGdzj3eBVAWpIDUEmGPMC954KRjhYL" width="23"></span></span></span></span></span></span></span></span></span></span></span></a> <a href="https://twitter.com/TetraScience" style="text-decoration:none" target="_blank"><span style="font-size:11pt;font-variant:normal;white-space:pre-wrap"><span style="font-family:Arial"><span style="color:#1155cc"><span style="font-weight:400"><span style="font-style:normal"><span style="text-decoration:none"><span style="border:none"><span style="display:inline-block"><span style="overflow:hidden"><span style="width:24px"><span style="height:20px"><img height="20" src="https://lh6.googleusercontent.com/dDjJOFTexDcB1XzS2fcMWc2eHy-dmTzFzBgpM1RIGUvm3WiIhleKXgxZ8Etuou0EnvsoC3MofWYHElVZf3YXeO0EP7lEnoLXg85fc_a4CzpQY8i7jhleUOFvwtvVD1AqSwck0fUt" width="24"></span></span></span></span></span></span></span></span></span></span></span></a><span style="font-size:11pt;font-variant:normal;white-space:pre-wrap"><span style="font-family:Arial"><span style="color:#000000"><span style="font-weight:400"><span style="font-style:normal"><span style="text-decoration:none"> </span></span></span></span></span></span><a href="https://www.youtube.com/channel/UCxAIGW2oF5jgJ062pax98UQ" style="text-decoration:none" target="_blank"><span style="font-size:11pt;font-variant:normal;white-space:pre-wrap"><span style="font-family:Arial"><span style="color:#1155cc"><span style="font-weight:400"><span style="font-style:normal"><span style="text-decoration:none"><span style="border:none"><span style="display:inline-block"><span style="overflow:hidden"><span style="width:28px"><span style="height:20px"><img height="20" src="https://lh3.googleusercontent.com/nuS46HfspdDsHftRD5n0g0P2dv5MyeNLNjOSXwBrSZVaHia39aVsFFofIGErpOBUueTWBPhlJM1Acch47iDkofIQ_ppdV-Y01rHyx3iraR7dSqM0lNl_ZWICvUPNUUiURLvH90v_" width="28"></span></span></span></span></span></span></span></span></span></span></span></a></p></div></div>