varnish syntax

Roberto O. Fernández Crisial roberto.fernandezcrisial at gmail.com
Thu Jun 16 15:03:56 CEST 2011


Varnish updated VCL syntax on 2.1.x, don't forget to use "return(pass)"
instead just "pass".

The same for "return(deliver)", "return(error)"...

Best regards,
Roberto O. Fernández Crisial
@rofc

On Thu, Jun 16, 2011 at 9:24 AM, Robert Recchia <robrecc at gmail.com> wrote:

> I run word press and munin on the same server - i don't want varnish
> caching anything /munin so in older varnish releases all i did was add
> this to the vcl file
>
> sub vcl_recv {
>
> if (req.url ~ "munin") {
>
>        pass;
>
>        }
>
>
> it seems varnish-2.1.5-1 does not like this syntax and wont start.
> Does anyone know the equivilant to what it would be in this version
>
>
>
> --
> Robert Recchia
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110616/e78ddb49/attachment-0003.html>


More information about the varnish-misc mailing list