1
0
forked from infra/ansible

matrix: increase max size to 10M

This commit is contained in:
Markus 2020-04-09 21:38:29 +02:00
parent 11bd9019d9
commit 088ee7c6bf
2 changed files with 2 additions and 2 deletions

View File

@ -701,7 +701,7 @@ media_store_path: "/var/lib/matrix-synapse/media"
# The largest allowed upload size in bytes # The largest allowed upload size in bytes
# #
max_upload_size: 5M max_upload_size: 10M
# Maximum number of pixels that will be thumbnailed # Maximum number of pixels that will be thumbnailed
# #

View File

@ -23,7 +23,7 @@ server {
ssl_certificate_key /etc/nginx/ssl/{{ matrix_domain }}.key; ssl_certificate_key /etc/nginx/ssl/{{ matrix_domain }}.key;
ssl_certificate /etc/nginx/ssl/{{ matrix_domain }}.crt; ssl_certificate /etc/nginx/ssl/{{ matrix_domain }}.crt;
client_max_body_size 5M; client_max_body_size 10M;
location / { location / {
proxy_pass http://localhost:8008; proxy_pass http://localhost:8008;