Minimalistic VCL does not compile

dE de.techno at gmail.com
Wed Oct 14 13:01:41 CEST 2015


Hi!

I got this VCL --

backend default {
         .host = "46.228.47.114";
         .port = "https";
}

sub vcl_recv {
         req.backend = "default";
         req.http.host = "www.yahoo.com";
}

But running varnishd complaints --

Message from VCC-compiler:
Expected an action, 'if', '{' or '}'
('input' Line 9 Pos 9)
         req.backend = "default";
--------###########-------------

Running VCC-compiler failed, exit 1

VCL compilation failed

Thanks for any help!



More information about the varnish-misc mailing list