Note the requirement for the url_format parameter
authorMark Felder <feld@feld.me>
Tue, 26 Jan 2021 00:20:07 +0000 (18:20 -0600)
committerMark Felder <feld@feld.me>
Tue, 26 Jan 2021 00:20:07 +0000 (18:20 -0600)
installation/apache-cache-purge.sh.example

index 62997038d48df5312317dfea8eeb87d1afacd1d0..7b426287554566188826e51f1a77a7b4e2a13e5f 100755 (executable)
@@ -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##*/}