Re: [squid-users] Reverse Proxy - order of cache_peer_access rules

2011-06-28 Thread Oskar Stolc
Hi Amos, thanks for the clarification. I've re-ordered my cache_peer rules and all works now as expected. Thank you, Oskar > Selection is based on cache_peer directive order. > > cache_peer_access is just a modifier to prevent particular selection choices > being made. > > "server1 allow site1

RE: [squid-users] Reverse Proxy - order of cache_peer_access rules

2011-06-27 Thread Nick Duda
I'm no pro at squid-cache, but I do run a handful of reverse proxies doing things similar to what you want. You might want to consider using url_regex? Maybe something along the lines of this: http_port 80 accel defaultsite=www.example1.com vhost cache_peer 10.0.0.3 parent 80 0 no-query origins

Re: [squid-users] Reverse Proxy - order of cache_peer_access rules

2011-06-26 Thread Amos Jeffries
On 26/06/11 21:41, Oskar Stolc wrote: Hi, I am trying to set up a Squid reverse proxy, but it does not want to work according my expectations. I am serving two sites: - www.example1.com - www.example2.com I have 3 backend servers: - 10.0.0.1 - 10.0.0.2 - 10.0.0.3 I want Squid to send the - ww