From fdedd6a6c0388d9caf163721ca78fa72e81286ea Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 15 Nov 2016 08:51:57 -0500 Subject: [PATCH] fix hook --- contrib/tools/hooks/purge-varnish.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/tools/hooks/purge-varnish.sh b/contrib/tools/hooks/purge-varnish.sh index 1cfe863..40b4aef 100755 --- a/contrib/tools/hooks/purge-varnish.sh +++ b/contrib/tools/hooks/purge-varnish.sh @@ -12,6 +12,8 @@ fi # ip to bind to when doing http request ip="127.0.1.1" +varnish="127.0.0.1:8000" + # purge thread page curl --interface "$ip" -v -X PURGE http://$varnish/thread-$(sha1sum <<< "$op" | cut -d' ' -f1).html # purge board page