Verified Commit 61dd0132 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Configure max_upload_size properly

parent 4a8c24de
---
matrix_max_upload_size: 50M
matrix_nginx_config:
- name: federation_reader
port: 8011
......
......@@ -948,7 +948,7 @@ media_store_path: "/var/lib/synapse/media_store"
# The largest allowed upload size in bytes
#
#max_upload_size: 50M
max_upload_size: {{ matrix_max_upload_size }}
# Maximum number of pixels that will be thumbnailed
#
......
......@@ -42,6 +42,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_read_timeout 900s;
client_max_body_size {{ matrix_max_upload_size }};
}
{% endfor %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment