Bump Matrix max upload size to a whopping 50 MB #45

Merged
graffen merged 2 commits from matrix-max-upload-size into master 2020-11-27 09:37:59 +00:00
4 changed files with 9 additions and 2 deletions

View file

@ -415,7 +415,7 @@ uploads_path: "/data/uploads"
# The largest allowed upload size in bytes
#
max_upload_size: "10M"
max_upload_size: "50M"
# Maximum number of pixels that will be thumbnailed
#

View file

@ -1 +1,2 @@
listen 8008;
client_max_body_size 50M; # default is 1M

View file

@ -0,0 +1 @@
client_max_body_size 50M; # default is 1M

View file

@ -46,6 +46,11 @@
src: files/configs/matrix/vhost-matrix
dest: "{{ nginx.volume_folder }}/vhost/{{ matrix.domain }}"
- name: upload vhost config for riot domain
template:
src: files/configs/matrix/vhost-riot
dest: "{{ nginx.volume_folder }}/vhost/{{ domain.domain }}"
- name: upload homeserver.yaml
template:
src: "files/configs/matrix/homeserver.yaml"