I'm configuring a transparent proxy for my home, and I want certain URLs to go through an upstream proxy.

I'm currently using Squid, but I'm open to other suggestions.

I've looked at Squid's cache_peer options, but none seems to serve my purposes.

Is this even possible?

Edit: I also have nginx on the proxy machine, so maybe I can use that?

link|improve this question

74% accept rate
feedback

2 Answers

Using a proxy-autoconfig (.pac) file to direct the client system to the proxy server(s) lets you define what hosts and domains get proxied through which server.

link|improve this answer
Sorry, forgot to mention I want to keep the transparent proxy part, because I want to use desktop apps which don't support configuring a proxy. – Ivan Jul 6 '11 at 15:35
feedback

It looks like the cache_peer_domain or cache_peer_access directives can do what you want.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.