varnish configtest

varnishd -C -f /usr/local/etc/varnish/default.vcl

https://codepoets.co.uk/2011/checking-varnish-configuration-syntax/