diff options
author | clokep <clokep@users.noreply.github.com> | 2023-05-09 18:09:57 +0000 |
---|---|---|
committer | clokep <clokep@users.noreply.github.com> | 2023-05-09 18:09:57 +0000 |
commit | 4c271520e1d2c2f4de8e960cdefc3ab6f3f2ce7b (patch) | |
tree | ebfae924e787b39b09027112c2ca660c3a1a84b1 /develop/usage | |
parent | deploy: 64a11fb61fac47f652858d7e2109d077874135e0 (diff) | |
download | synapse-4c271520e1d2c2f4de8e960cdefc3ab6f3f2ce7b.tar.xz |
deploy: ab4535b6082db97e8c48a69ea6674fe3b7c5e956
Diffstat (limited to 'develop/usage')
-rw-r--r-- | develop/usage/configuration/config_documentation.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html index e50fbce616..109626bc53 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html @@ -1669,6 +1669,24 @@ See <a href="../../reverse_proxy.html">here</a> for more on using a reverse prox <pre><code class="language-yaml">max_image_pixels: 35M </code></pre> <hr /> +<h3 id="prevent_media_downloads_from"><a class="header" href="#prevent_media_downloads_from"><code>prevent_media_downloads_from</code></a></h3> +<p>A list of domains to never download media from. Media from these +domains that is already downloaded will not be deleted, but will be +inaccessible to users. This option does not affect admin APIs trying +to download/operate on media.</p> +<p>This will not prevent the listed domains from accessing media themselves. +It simply prevents users on this server from downloading media originating +from the listed servers.</p> +<p>This will have no effect on media originating from the local server. +This only affects media downloaded from other Matrix servers, to +block domains from URL previews see <a href="#url_preview_url_blacklist"><code>url_preview_url_blacklist</code></a>.</p> +<p>Defaults to an empty list (nothing blocked).</p> +<p>Example configuration:</p> +<pre><code class="language-yaml">prevent_media_downloads_from: + - evil.example.org + - evil2.example.org +</code></pre> +<hr /> <h3 id="dynamic_thumbnails"><a class="header" href="#dynamic_thumbnails"><code>dynamic_thumbnails</code></a></h3> <p>Whether to generate new thumbnails on the fly to precisely match the resolution requested by the client. If true then whenever |