mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 07:22:11 -04:00
Increase default max_upload_size from 10M to 50M (#8502)
Signed-off-by: Mateusz Przybyłowicz <uamfhq@gmail.com>
This commit is contained in:
parent
1781bbe319
commit
ca2db5dd0c
5 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue