From f0979ec6542a2e9d012c1d1f481800a5531db40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Wed, 31 Aug 2022 20:10:42 +0200 Subject: [PATCH] nextcloud: Raise upload limit to 1GB --- roles/docker/files/configs/nextcloud/vhost | 1 + roles/docker/tasks/services/nextcloud.yml | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 roles/docker/files/configs/nextcloud/vhost diff --git a/roles/docker/files/configs/nextcloud/vhost b/roles/docker/files/configs/nextcloud/vhost new file mode 100644 index 00000000..dec55e84 --- /dev/null +++ b/roles/docker/files/configs/nextcloud/vhost @@ -0,0 +1 @@ +client_max_body_size 1G; # default is 1M diff --git a/roles/docker/tasks/services/nextcloud.yml b/roles/docker/tasks/services/nextcloud.yml index 66c53342..4b62e8f7 100644 --- a/roles/docker/tasks/services/nextcloud.yml +++ b/roles/docker/tasks/services/nextcloud.yml @@ -1,4 +1,9 @@ --- +- name: upload vhost config for cloud.data.coop + template: + src: files/configs/nextcloud/vhost + dst: "{{ nginx.volume_folder }}/vhost/{{ nextcloud.domain }}" + - name: setup nextcloud containers docker_compose: project_name: "nextcloud" @@ -39,4 +44,4 @@ postfix: external: true external_services: - external: true \ No newline at end of file + external: true