[squid-users] cache_peer configuration

Amos Jeffries squid3 at treenet.co.nz
Tue Apr 21 13:30:48 UTC 2020


On 21/04/20 11:06 pm, kutz wrote:
> Hello List,
> I'm trying to establish a proxy2proxy configuration with my
> squid-3.5.28-1.el6.x86_64
> on
> Centos 6.10
> 
> cache_peer IP_OF_PEER parent 8080 0 no-query originserver name=server_1

If the upstream is a proxy, do not tell Squid it is an origin server.


> acl sites_server_1 dstdomain url_1 url_2 url_3 url_4
> cache_peer_access server_1 allow sites_server_1
> cache_peer_access server_1 deny all
> 
> When trying to access one of the URLs the requests are not answered (or
> delivered) by the remote proxy - instead local Squid tries to answer.
> As my squid has no direct access to those URLs I'm getting 503 in my Squid Logs with a timeout in my
> browers.
> 
> What am I missing here?
> 

Some detail you are not providing for us either.

This is why we always ask for as much detail as possible. Logs, full
config. As much as you can about the failing transaction.


Amos


More information about the squid-users mailing list