Commit 89f84f40 authored by feld's avatar feld

Ensure all MediaProxy settings are grouped together

parent 6524f741
Pipeline #26221 passed with stages
in 14 minutes
......@@ -1657,6 +1657,43 @@
}
]
},
%{
key: Pleroma.Web.MediaProxy.Invalidation.Http,
type: :group,
description: "MediaProxy Cache Invalidation Http Settings",
children: [
%{
key: :method,
type: :string,
description: "HTTP method for invalidation requests.",
suggestions: ["purge"]
},
%{
key: :headers,
type: :string,
description: "Additional HTTP headers for invalidation requests."
},
%{
key: :options,
type: :string,
description: "Additional HTTP request options for invalidation requests."
}
]
},
%{
key: Pleroma.Web.MediaProxy.Invalidation.Script,
type: :group,
description: "MediaProxy Cache Invalidation Script Settings",
children: [
%{
key: :script_path,
type: :string,
description:
"Path to a custom script to automate cache invalidation." <>
"See `installation/nginx-cache-purge.sh.example` for additional help."
}
]
},
%{
key: :proxy_opts,
type: :keyword,
......@@ -1729,45 +1766,6 @@
}
]
},
%{
group: :pleroma,
key: Pleroma.Web.MediaProxy.Invalidation.Http,
type: :group,
description: "MediaProxy Cache Invalidation Http Settings",
children: [
%{
key: :method,
type: :string,
description: "HTTP method for invalidation requests.",
suggestions: ["purge"]
},
%{
key: :headers,
type: :string,
description: "Additional HTTP headers for invalidation requests."
},
%{
key: :options,
type: :string,
description: "Additional HTTP request options for invalidation requests."
}
]
},
%{
group: :pleroma,
key: Pleroma.Web.MediaProxy.Invalidation.Script,
type: :group,
description: "MediaProxy Cache Invalidation Script Settings",
children: [
%{
key: :script_path,
type: :string,
description:
"Path to a custom script to automate cache invalidation." <>
"See `installation/nginx-cache-purge.sh.example` for additional help."
}
]
},
%{
group: :pleroma,
key: :gopher,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment