Squid not making request correctly
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
/v2/...
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
by "not prepending the backend url" i mean its trying to request just
/v2/...
instead of someregistry.com/v2/...– Tom Hadlaw
just now