mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 16:21:55 -06:00
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>
This commit is contained in:
parent
d27607af78
commit
5ade348d14
|
@ -248,7 +248,8 @@ media_api:
|
||||||
base_path: ./media_store
|
base_path: ./media_store
|
||||||
|
|
||||||
# The maximum allowed file size (in bytes) for media uploads to this homeserver
|
# 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
|
max_file_size_bytes: 10485760
|
||||||
|
|
||||||
# Whether to dynamically generate thumbnails if needed.
|
# Whether to dynamically generate thumbnails if needed.
|
||||||
|
|
Loading…
Reference in a new issue