summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-01-21 14:52:02 -0600
committerMark Felder <feld@feld.me>2021-01-21 14:52:02 -0600
commite709dec2eb7b588e242f3b776761ba89484f446a (patch)
treeda44bf5349e96d4d971cc7a234f4da4e0dd2d64b /config
parent42e49529c24090b0cb6f92f2bba154de5feb6855 (diff)
Add Invalidation Script url_format setting
Diffstat (limited to 'config')
-rw-r--r--config/description.exs11
1 files changed, 9 insertions, 2 deletions
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"]
}
]
},