Varnish purge behind nginX proxy

Bertrand Caplet bertrand.caplet at chunkz.net
Thu Apr 16 19:42:36 CEST 2015


To make it clear for you here's my config:


Client ---> Nginx Reverse SSL ---> Varnish ---> Nginx + PHP-FPM

X-Forwarded-for is already completed by nginx (and working ofc) and I
tried as Per Buer told me with this rule :

if (std.ip(req.http.X-forwarded-for, "0.0.0.0") !~ purge)

but I got the following error :

Message from VCC-compiler:
Symbol not found: 'std.ip' (expected type BOOL)

-- 
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/8653afc0/attachment.pgp>


More information about the varnish-misc mailing list