Posts

Showing posts with the label squid

Squid not making request correctly

Image
Clash Royale CLAN TAG #URR8PPP Squid not making request correctly I'm trying to set up a Squid cache in front of a docker registry. When I try to pull through the cache it gives an error saying that it can't connect to the backend ("The following error was encountered while trying to retrieve the URL: ") meaning that its not prepending it with the backend url (seen below as ). I cant seem to figure out where im going wrong with this http_port 3128 accel defaultsite=localhost no-vhost cert=/cert.pem key=/key.pem cache_peer <registry_url> parent 443 0 no-query originserver name=myAccel acl our_sites dstdomain localhost http_access allow our_sites cache_peer_access myAccel allow our_sites cache_peer_access myAccel deny all by "not prepending the backend url" i mean its trying to request just /v2/... instead of someregistry.com/v2/... – Tom Hadlaw just now ...