diff options
author | feld <feld@feld.me> | 2020-09-18 18:38:20 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2020-09-18 18:38:20 +0000 |
commit | 6c052bd5b6cc29d321b500654bd6b098d0e6c56a (patch) | |
tree | 9357c0e0f653f8e35d63e32eb0faf090e600a816 /docs/configuration | |
parent | 91ddd47e513c5fc343ffa9bea069801b0142a115 (diff) | |
parent | a42880040574701000470fc1c2dbd6f7242c1a06 (diff) | |
download | pleroma-6c052bd5b6cc29d321b500654bd6b098d0e6c56a.tar.gz |
Merge branch 'media-preview-proxy-nostream' into 'develop'
Media preview proxy
See merge request pleroma/pleroma!3001
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/cheatsheet.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 9a275294e..42e5fe808 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -324,6 +324,14 @@ This section describe PWA manifest instance-specific values. Currently this opti * `enabled`: Enables purge cache * `provider`: Which one of the [purge cache strategy](#purge-cache-strategy) to use. +## :media_preview_proxy + +* `enabled`: Enables proxying of remote media preview to the instance’s proxy. Requires enabled media proxy (`media_proxy/enabled`). +* `thumbnail_max_width`: Max width of preview thumbnail for images (video preview always has original dimensions). +* `thumbnail_max_height`: Max height of preview thumbnail for images (video preview always has original dimensions). +* `image_quality`: Quality of the output. Ranges from 0 (min quality) to 100 (max quality). +* `min_content_length`: Min content length to perform preview, in bytes. If greater than 0, media smaller in size will be served as is, without thumbnailing. + ### Purge cache strategy #### Pleroma.Web.MediaProxy.Invalidation.Script |