Varnish 5.x VCL configuration templates

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, October 28, 2016

Follow me on Twitter as @mattiasgeniar

Varnish 5 has been released a few weeks ago, and the good news for configuration maintainers like me is: backwards compatible configs!

So updating the repository with support for Varnish 5.x was relatively easy, you can find updated configurations here: github.com/mattiasgeniar/varnish-5.0-configuration-templates.

Many of the boilerplate configurations are just exactly the same as the 4.x configurations. However, creating a new repository for this allows me to include 5.x-only features like PROXY, HTTP/2 etc.

If you just want to start with Varnish 5, have a look at that repo. It doesn’t do many varnish-5-only features yet, but I plan to add that very soon!

Link: Varnish 5 Configuration Templates



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.