fix hook
This commit is contained in:
parent
59c52f775f
commit
fdedd6a6c0
@ -12,6 +12,8 @@ fi
|
|||||||
# ip to bind to when doing http request
|
# ip to bind to when doing http request
|
||||||
ip="127.0.1.1"
|
ip="127.0.1.1"
|
||||||
|
|
||||||
|
varnish="127.0.0.1:8000"
|
||||||
|
|
||||||
# purge thread page
|
# purge thread page
|
||||||
curl --interface "$ip" -v -X PURGE http://$varnish/thread-$(sha1sum <<< "$op" | cut -d' ' -f1).html
|
curl --interface "$ip" -v -X PURGE http://$varnish/thread-$(sha1sum <<< "$op" | cut -d' ' -f1).html
|
||||||
# purge board page
|
# purge board page
|
||||||
|
Reference in New Issue
Block a user