summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorMateusz PrzybyƂowicz <uamfhq@gmail.com>2020-10-09 17:58:23 +0200
committerGitHub <noreply@github.com>2020-10-09 16:58:23 +0100
commitca2db5dd0c9fc430a931b4d456fea6a5300b8b42 (patch)
tree5098c681a074d3a0c5c938f4b2e15feadd3652e8 /docs
parentAdd type hints to response cache. (#8507) (diff)
downloadsynapse-ca2db5dd0c9fc430a931b4d456fea6a5300b8b42.tar.xz
Increase default max_upload_size from 10M to 50M (#8502)
Signed-off-by: Mateusz PrzybyƂowicz <uamfhq@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/reverse_proxy.md2
-rw-r--r--docs/sample_config.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md
index 46d8f35771..c7020f2df3 100644
--- a/docs/reverse_proxy.md
+++ b/docs/reverse_proxy.md
@@ -54,7 +54,7 @@ server {
         proxy_set_header X-Forwarded-For $remote_addr;
         # Nginx by default only allows file uploads up to 1M in size
         # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
-        client_max_body_size 10M;
+        client_max_body_size 50M;
     }
 }
 ```
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index bb64662e28..061226ea6f 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -893,7 +893,7 @@ media_store_path: "DATADIR/media_store"
 
 # The largest allowed upload size in bytes
 #
-#max_upload_size: 10M
+#max_upload_size: 50M
 
 # Maximum number of pixels that will be thumbnailed
 #