summaryrefslogtreecommitdiff
path: root/roles/apps/onlyoffice
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-05-13 04:20:44 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-05-13 04:20:44 +0200
commit0410643732195626e8be8bc1b2c6fbc23b3b3cc3 (patch)
tree571a4fcdcdac29801091a1dd0d50b4248a178cf0 /roles/apps/onlyoffice
parentinstall binwalk to ch-equinox-* (diff)
make nginx vhost templates more generic
Diffstat (limited to 'roles/apps/onlyoffice')
-rw-r--r--roles/apps/onlyoffice/tasks/main.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/apps/onlyoffice/tasks/main.yml b/roles/apps/onlyoffice/tasks/main.yml
index da253a77..bde60e5b 100644
--- a/roles/apps/onlyoffice/tasks/main.yml
+++ b/roles/apps/onlyoffice/tasks/main.yml
@@ -143,7 +143,10 @@
acme: true
hostnames:
- "{{ item.value.hostname }}"
- client_max_body_size: "0"
- proxy_pass: "http://127.0.0.1:{{ item.value.port }}"
+ locations:
+ '/':
+ proxy_pass: "http://127.0.0.1:{{ item.value.port }}"
+ extra_directives: |-
+ client_max_body_size 0;
include_role:
name: nginx/vhost