Merge pull request 'Bump Matrix max upload size to a whopping 50 MB' (#45) from matrix-max-upload-size into master

Reviewed-on: data.coop/ansible#45

All good, thanks!
This commit is contained in:
Jesper Hess 2020-11-27 09:37:58 +00:00
commit 21e2b743ef
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;
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"