forked from data.coop/ansible
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:
commit
21e2b743ef
|
@ -415,7 +415,7 @@ uploads_path: "/data/uploads"
|
||||||
|
|
||||||
# The largest allowed upload size in bytes
|
# The largest allowed upload size in bytes
|
||||||
#
|
#
|
||||||
max_upload_size: "10M"
|
max_upload_size: "50M"
|
||||||
|
|
||||||
# Maximum number of pixels that will be thumbnailed
|
# Maximum number of pixels that will be thumbnailed
|
||||||
#
|
#
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
listen 8008;
|
listen 8008;
|
||||||
|
client_max_body_size 50M; # default is 1M
|
||||||
|
|
1
roles/docker/files/configs/matrix/vhost-riot
Normal file
1
roles/docker/files/configs/matrix/vhost-riot
Normal file
|
@ -0,0 +1 @@
|
||||||
|
client_max_body_size 50M; # default is 1M
|
|
@ -46,6 +46,11 @@
|
||||||
src: files/configs/matrix/vhost-matrix
|
src: files/configs/matrix/vhost-matrix
|
||||||
dest: "{{ nginx.volume_folder }}/vhost/{{ matrix.domain }}"
|
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
|
- name: upload homeserver.yaml
|
||||||
template:
|
template:
|
||||||
src: "files/configs/matrix/homeserver.yaml"
|
src: "files/configs/matrix/homeserver.yaml"
|
||||||
|
|
Loading…
Reference in a new issue