Last active
August 2, 2016 13:40
-
-
Save alvinnguyen/413b43b45e8f73effdcab2389191220c to your computer and use it in GitHub Desktop.
Reload Varnish server using command line (not service varnish reload)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
varnishadm | |
vcl.load reload01 /usr/local/etc/varnish/default.vcl | |
vcl.use reload01 | |
varnishadm "ban.url ." # Matches all URLs | |
varnishadm "ban req.http.host == opensourcehacker.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment