How to test varnish vcl file

Unlike most other configuration systems varnish went with a compiled configuration so if there is a mistake all you get is :   Starting varnish HTTP accelerator: [FAILED] To check what the problem is use the following : varnishd -C -f default.vcl varnishd -C -f default.vcl Message from VCC-compiler: Expected return action name. (input Line…