On 04/16/2015 07:42 PM, Bertrand Caplet wrote:
> 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)
>
could you be missing a "import std;" ?

-- 
Guillaume Quintard


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

Reply via email to