mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Mention that you need to configure max upload size in reverse proxy as well (#10122)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
aec2cf1c98
commit
e6245e6d48
1
changelog.d/10122.doc
Normal file
1
changelog.d/10122.doc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Mention in the sample homeserver config that you may need to configure max upload size in your reverse proxy. Contributed by @aaronraimist.
|
@ -954,6 +954,10 @@ media_store_path: "DATADIR/media_store"
|
|||||||
|
|
||||||
# The largest allowed upload size in bytes
|
# The largest allowed upload size in bytes
|
||||||
#
|
#
|
||||||
|
# If you are using a reverse proxy you may also need to set this value in
|
||||||
|
# your reverse proxy's config. Notably Nginx has a small max body size by default.
|
||||||
|
# See https://matrix-org.github.io/synapse/develop/reverse_proxy.html.
|
||||||
|
#
|
||||||
#max_upload_size: 50M
|
#max_upload_size: 50M
|
||||||
|
|
||||||
# Maximum number of pixels that will be thumbnailed
|
# Maximum number of pixels that will be thumbnailed
|
||||||
|
@ -248,6 +248,10 @@ class ContentRepositoryConfig(Config):
|
|||||||
|
|
||||||
# The largest allowed upload size in bytes
|
# The largest allowed upload size in bytes
|
||||||
#
|
#
|
||||||
|
# If you are using a reverse proxy you may also need to set this value in
|
||||||
|
# your reverse proxy's config. Notably Nginx has a small max body size by default.
|
||||||
|
# See https://matrix-org.github.io/synapse/develop/reverse_proxy.html.
|
||||||
|
#
|
||||||
#max_upload_size: 50M
|
#max_upload_size: 50M
|
||||||
|
|
||||||
# Maximum number of pixels that will be thumbnailed
|
# Maximum number of pixels that will be thumbnailed
|
||||||
|
Loading…
Reference in New Issue
Block a user