[squid-users] Encapsulating proxy requests thru a proxy

Amos Jeffries squid3 at treenet.co.nz
Sun Oct 5 19:24:39 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/10/2014 6:00 a.m., Ricardo Carrillo Cruz wrote:
> Hi guys
> 
> I have a need to encapsulate proxy requests thru a proxy, like the
>  ProxyRemote directive in Apache mod_proxy:
> 
> http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxyremote 
> http://www.xinotes.net/notes/note/980/
> 
> As I'm familiar with Squid, I'd like to have that same Apache 
> functionality on my Squid proxy.
> 
> Can anyone please give me any pointers?

That Apache directive is a copy of Squid's cache_peer directive.

You configure cache_peer with the domain name or IP address of the
peer proxy and its HTTP receiving port. Then use cache_peer_access to
control what traffic gets sent there.


 http://www.squid-cache.org/Doc/config/cache_peer/
 http://www.squid-cache.org/Doc/config/cache_peer_access/

Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (MingW32)

iQEcBAEBAgAGBQJUMZr3AAoJELJo5wb/XPRj+NsIAMUxT+pJt4SCBGkpP0ywRFIK
wcIefGvUmpdtZJAjF6m7u5VCD3fJkpEhMnh2yM5MNmdM7IjWxy9taLmyLNt8ODe2
T++17+XWHxxulIQoyPelnpq8vEYdZ93JfB7h5fx+Q/bMtq3wmc8PVuJSd4sMLOMw
w5XOdobvF8Q5MfoKORMXrtzlyEzJTWcBfh05jU25BiqUeSTvAhHek/nCkDd81w6R
8aTeJHg+RUac/UpyzmQ4qS9LQZ978vcBSMp9yS+ex8FYArIcEe35hIZPjuQKB8If
S3YqpbGx4TSy80T1LL1skReibpPWPURP3zmGtJtVYa1mJEXHmgKau076v+GSSKU=
=JONK
-----END PGP SIGNATURE-----


More information about the squid-users mailing list