Functions in backend variables interpretted literally

Chris Topher (redacted) Chris Topher at
Wed Aug 12 17:17:24 CEST 2015

Hi there

I used dynamically named servers on EC2, my varnish bootstrap setup configures the vcl according to the server name e.g.

Varnish doesn't like the hyphen in the back end name, so I replace it out, fair enough:

Now it fails because the back end server name has the function 'if' in it!

I now replace this out to:

I think it may be a bug that the 'if' function is interpreted in a back end variable definition like this.


 This email has been scanned for email related threats and delivered safely by Mimecast.
 For more information please visit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-bugs mailing list