added varnish ban script (rudimentary)
This commit is contained in:
parent
23d5fc6e4d
commit
d8ed9aecf1
1 changed files with 3 additions and 0 deletions
3
varnish_ban.sh
Executable file
3
varnish_ban.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
# Ban (purge) all on localhost
|
||||
varnishadm -T localhost:6082 "ban req.url ~ ." -S /etc/varnish/secret
|
||||
Loading…
Add table
Add a link
Reference in a new issue