matrix: increase file size limit
This commit is contained in:
parent
fe10cde96b
commit
40e8445679
@ -811,7 +811,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: 10M
|
max_upload_size: 25M
|
||||||
|
|
||||||
# Maximum number of pixels that will be thumbnailed
|
# Maximum number of pixels that will be thumbnailed
|
||||||
#
|
#
|
||||||
|
@ -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 10M;
|
client_max_body_size 25M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:8008;
|
proxy_pass http://localhost:8008;
|
||||||
@ -40,7 +40,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 25M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:8008;
|
proxy_pass http://localhost:8008;
|
||||||
|
Loading…
Reference in New Issue
Block a user