Question of use of ACLs

Jim Hayter jhayter at
Mon Jan 28 22:38:02 CET 2013

I am running Varnish 3.02 under Ubuntu 12.04.  

I am familiar with the ACL example of setting up a list of IPs and testing client.ip against it to limit the ability to purge.

I have an environment where I would like to check the IP of the originating request against an ACL to decide which backend to use.  The problem is that with a CDN and nginx in front of varnish, client.ip does not contain the appropriate IP.  The originating IP is available in one of the request headers.  Is there a way to convince varnish to compare the originating IP with the ACL?

Jim Hayter
Systems Engineer
Office: 614.807.5145  Fax: 614.807.5104    Where Small Business Grows

More information about the varnish-misc mailing list