From 4c271520e1d2c2f4de8e960cdefc3ab6f3f2ce7b Mon Sep 17 00:00:00 2001 From: clokep Date: Tue, 9 May 2023 18:09:57 +0000 Subject: deploy: ab4535b6082db97e8c48a69ea6674fe3b7c5e956 --- develop/usage/configuration/config_documentation.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'develop/usage/configuration/config_documentation.html') 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 here for more on using a reverse prox
max_image_pixels: 35M
 

+

prevent_media_downloads_from

+

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.

+

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.

+

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 url_preview_url_blacklist.

+

Defaults to an empty list (nothing blocked).

+

Example configuration:

+
prevent_media_downloads_from:
+  - evil.example.org
+  - evil2.example.org
+
+

dynamic_thumbnails

Whether to generate new thumbnails on the fly to precisely match the resolution requested by the client. If true then whenever -- cgit 1.5.1