- key: :proxy_opts,
- type: :keyword,
- description: "Media proxy options",
- suggestions: [
- head_request_max_read_duration: 5_000
- ],
- children: [
- %{
- key: :head_request_max_read_duration,
- type: :integer,
- description: "Timeout (in milliseconds) of HEAD request to remote URI."
- }
- ]
- },
- %{
- key: :whitelist,
- type: {:list, :string},
- description: "List of hosts with scheme to bypass the mediaproxy",
- suggestions: ["http://example.com"]
+ key: :min_content_length,
+ type: :integer,
+ description:
+ "Min content length to perform preview, in bytes. If greater than 0, media smaller in size will be served as is, without thumbnailing."