diff options
author | Tim McCormack <cortex@brainonfire.net> | 2021-04-08 11:08:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 12:08:38 +0100 |
commit | 5ade348d142012367e6cf4b8c2c65d6fbf357af6 (patch) | |
tree | 71789e274d46d895b834cc2ff3dd608f204e2c35 /dendrite-config.yaml | |
parent | d27607af78a53bda636f14f603b02b2952d6e1d8 (diff) |
Document need for max-body-size change in reverse proxy as well (#1816)
Just changing the Media API's `max_file_size_bytes` isn't enough if
Dendrite is running behind a proxy; document the need for a proxy config
change in the place the admin is most likely to notice it.
Signed-off-by: Tim McCormack <cortex@brainonfire.net>
Diffstat (limited to 'dendrite-config.yaml')
-rw-r--r-- | dendrite-config.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dendrite-config.yaml b/dendrite-config.yaml index 1edb026f..0ea584aa 100644 --- a/dendrite-config.yaml +++ b/dendrite-config.yaml @@ -248,7 +248,8 @@ media_api: base_path: ./media_store # The maximum allowed file size (in bytes) for media uploads to this homeserver - # (0 = unlimited). + # (0 = unlimited). If using a reverse proxy, ensure it allows requests at + # least this large (e.g. client_max_body_size in nginx.) max_file_size_bytes: 10485760 # Whether to dynamically generate thumbnails if needed. |