Varnish purge behind nginX proxy
Bertrand Caplet
bertrand.caplet at chunkz.net
Thu Apr 16 19:43:58 CEST 2015
> Did you import the standard module at the beginning of your VCL?
>
> import std;
Yes thanks !! I forgot to import it.
The only rule to make it work is :
if (!std.ip(regsub(req.http.X-Forwarded-For, "[, ].*$", ""), client.ip)
~ purge)
Thanks again, have a good evening.
(by the way sorry for replying to you, there was no 'reply to list' on
my mail client.)
--
CHUNKZ.NET - script kiddie and computer technician
Bertrand Caplet, Flers (FR)
Feel free to send encrypted/signed messages
Key ID: 37F70C30
GPG FP: 134A 4027 518B 5F4D D409 558D BA9B 7BF0 37F7 0C30
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150416/f020fec0/attachment.pgp>
More information about the varnish-misc
mailing list