Skip to content

Instantly share code, notes, and snippets.

@njt1982
Created March 18, 2015 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save njt1982/dd1c533142639aed7d25 to your computer and use it in GitHub Desktop.
Save njt1982/dd1c533142639aed7d25 to your computer and use it in GitHub Desktop.
VarnishADM Reload helper

Basically:

  • Switch to a different conf (you cannot discard / reload an active conf)
  • Discard it
  • Reload it into a name
  • Use that name
vcl.use boot
vcl.discard reload01
vcl.load reload01 /etc/varnish/default.vcl
vcl.use reload01
vcl.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment