X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fapache-cache-purge.sh.example;h=7b426287554566188826e51f1a77a7b4e2a13e5f;hb=c6ef87d585b63e9e26b16176b65a67d10e4b706b;hp=62997038d48df5312317dfea8eeb87d1afacd1d0;hpb=8373cb645b7f357eedbc3a45a2e75a81376e6ef8;p=akkoma diff --git a/installation/apache-cache-purge.sh.example b/installation/apache-cache-purge.sh.example index 62997038d..7b4262875 100755 --- a/installation/apache-cache-purge.sh.example +++ b/installation/apache-cache-purge.sh.example @@ -5,6 +5,13 @@ # # Cmnd_Alias HTCACHECLEAN = /usr/local/sbin/htcacheclean # pleroma ALL=HTCACHECLEAN, NOPASSWD: HTCACHECLEAN +# +# Please also ensure you have enabled: +# +# config :pleroma, Pleroma.Web.MediaProxy.Invalidation.Script, url_format: :htcacheclean +# +# which will correctly format the URLs passed to this script for the htcacheclean utility. +# SCRIPTNAME=${0##*/}