Cloudkul Support

How to check varnish syntax ?

Restarting varnish server for checking syntax and applying the modification could get so wrong beacaues incorrect syntax might lead to abort varnish server and your site would go down.

To check varnish configuration:

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

If syntax is correct, varnish will then dump out the generated configuration.

Otherwise you’ll get an error message pointing you to a specific line number and error position.

 

Is this article is helpful?

People like and 0 people dislike.

If result is not found or irrelevant, Please contact us.

Submit your request

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home