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?
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.
It looks like the cache_peer_domain or cache_peer_access directives can do what you want.