Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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.

share|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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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