Change client.ip based on x-forwaded-for headers?
smwood4 at gmail.com
Tue Aug 6 18:08:40 CEST 2013
That's perfect, Lasse! Thank you for the information.
I had settled on putting the VCL in a jinja template and iterating over a
list of ips (x-forward-for headers), each one creating a separate entry
into sub vcl_recv to send an error 403.
On Tue, Aug 6, 2013 at 2:00 AM, Lasse Karstensen <
lkarsten at varnish-software.com> wrote:
> On Mon, Aug 05, 2013 at 02:05:05PM -0700, Stephen Wood wrote:
> > Is there a way to change client.ip?
> Yes, you can do this with the ipcast vmod:
> With regards,
> Lasse Karstensen
> Varnish Software AS
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc