From: Mark Felder Date: Thu, 21 Jan 2021 20:52:02 +0000 (-0600) Subject: Add Invalidation Script url_format setting X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e709dec2eb7b588e242f3b776761ba89484f446a;p=akkoma Add Invalidation Script url_format setting --- diff --git a/config/description.exs b/config/description.exs index 715a0d0c3..d7dc264ee 100644 --- a/config/description.exs +++ b/config/description.exs @@ -1627,13 +1627,20 @@ config :pleroma, :config_description, [ group: :pleroma, key: Pleroma.Web.MediaProxy.Invalidation.Script, type: :group, - description: "Script invalidate settings", + description: "Invalidation script settings", children: [ %{ key: :script_path, type: :string, - description: "Path to shell script. Which will run purge cache.", + description: "Path to executable script which will purge cached items.", suggestions: ["./installation/nginx-cache-purge.sh.example"] + }, + %{ + key: :url_format, + type: :string, + description: + "Optional URL format preprocessing. Only required for Apache's htcacheclean.", + suggestions: [":htcacheclean"] } ] },