Matrix: up nginx client_max_body_size to 50MB

Then it's consistent with max_upload_size (sort of - modulo overhead in
http)
This commit is contained in:
Reynir Björnsson 2020-11-27 10:23:58 +01:00
parent 03cde007bc
commit 8d88016efd
3 changed files with 8 additions and 1 deletions

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 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"