Re: [squid-users] cache_peer_domain help

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 16 Apr 2008 01:59:02 +0200

tis 2008-04-15 klockan 15:51 -0400 skrev Nick Duda:
> cache_peer 192.168.1.10 parent 80 no-query originserver
> cache_peer 192.168.1.20 parent 80 no-query originserver
>
> cache_peer_domain 192.168.1.20 example.com

The above should be

cache_peer_domain 192.168.1.20 .example.com

and you also need

cache_peer_domain 192.168.1.10 !.example.com

The . is to match the whole domain, it not it only matches example.com,
not www.example.com

Regards
Henrik
Received on Tue Apr 22 2008 - 16:29:17 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT