commit: e709dec2eb7b588e242f3b776761ba89484f446a
parent 42e49529c24090b0cb6f92f2bba154de5feb6855
Author: Mark Felder <feld@feld.me>
Date: Thu, 21 Jan 2021 14:52:02 -0600
Add Invalidation Script url_format setting
Diffstat:
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git 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"]
}
]
},