diff options
author | Mark Felder <feld@feld.me> | 2021-01-21 14:52:02 -0600 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2021-01-21 14:52:02 -0600 |
commit | e709dec2eb7b588e242f3b776761ba89484f446a (patch) | |
tree | da44bf5349e96d4d971cc7a234f4da4e0dd2d64b | |
parent | 42e49529c24090b0cb6f92f2bba154de5feb6855 (diff) | |
download | pleroma-e709dec2eb7b588e242f3b776761ba89484f446a.tar.gz pleroma-e709dec2eb7b588e242f3b776761ba89484f446a.zip |
Add Invalidation Script url_format setting
-rw-r--r-- | config/description.exs | 11 |
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"] } ] }, |