How to configure cascading squid proxy with digest authentication

How to configure squid proxy behind another proxy that requires digest verification? I have this line in my squid conf, but the parent proxy continues to give me a username and password.

cache_peer $PARENTIP parent $PARENTPORT 0 default no-query proxy-only login=$user:$pass

No need to be a squid if there is another solution.

+4
source share
2 answers

, , ( ) . squid .

cache_peer $PARENT_PROXY_HOST parent $PARENT_PROXY_PORT 0 default no-query login=$PARENT_PROXY_USERNAME:$PARENT_PROXY_PASSWORD
never_direct allow localhost

-. , -, squid cache_peer [ ].

, ( /) , - squid. -. . squid , , .

cache_peer $PARENT_PROXY_HOST parent $PARENT_PROXY_PORT 0 default no-query login=PASSTHRU
never_direct allow localhost
+2

never_direct:


acl all src 0.0.0.0/0.0.0.0
http_access allow localhost
http_access deny all
cache_peer $PARENTID parent 8080 0 default no-query proxy-only login=a:b
never_direct allow localhost
http_port 8080
+1

All Articles