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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to