[squid-users] cache_peer configuration
rousskov at measurement-factory.com
Tue Apr 21 14:09:44 UTC 2020
On 4/21/20 7:06 AM, kutz wrote:
> cache_peer IP_OF_PEER parent 8080 0 no-query originserver name=server_1
> 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.
I assume that the URL in question matches the sites_server_1 ACL. Please
note that IP-based URLs may not match that ACL, especially if the
reverse DNS lookup does not work the way you would expect it to work.
If the URL in question matches and setting "nonhierarchical_direct off"
does not help, please see Amos response.
More information about the squid-users