diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-16 16:25:24 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-16 16:25:24 +0200 |
commit | f37cc8de04532c23cc0aa472e76c71a6e1e145f5 (patch) | |
tree | a298acd731dd11dcc88a5655718395f05f969dd4 | |
parent | 5b2a63f65edd13f182787ebb997ceaa493f61665 (diff) |
Add tiny utility to invalidate varnish' cache
-rwxr-xr-x | extras/tools/invalidate_varnish_cache.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/tools/invalidate_varnish_cache.sh b/extras/tools/invalidate_varnish_cache.sh new file mode 100755 index 0000000..ed10b36 --- /dev/null +++ b/extras/tools/invalidate_varnish_cache.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker exec gondul-varnish-test varnishadm ban 'req.url ~ .*' |