From 8dfc27cb34430cb3925619e744c1b8f943bd67b1 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Fri, 29 Dec 2023 00:22:15 +0100 Subject: [PATCH] Add NEXTCLOUD_TRUSTED_DOMAINS --- roles/apps/templates/compose-files/nextcloud.yml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/apps/templates/compose-files/nextcloud.yml.j2 b/roles/apps/templates/compose-files/nextcloud.yml.j2 index d44e230..8dbfe40 100644 --- a/roles/apps/templates/compose-files/nextcloud.yml.j2 +++ b/roles/apps/templates/compose-files/nextcloud.yml.j2 @@ -26,10 +26,11 @@ services: SMTP_AUTHTYPE: PLAIN SMTP_HOST: postfix SMTP_PORT: 587 - TRUSTED_PROXIES: "{{ proxy_host }} {{ apps_vars.nginx.docker_ipv4 }} fd02::/64" OVERWRITEHOST: {{ apps_vars.nextcloud.domain }} OVERWRITEPROTOCOL: https OVERWRITECLIURL: https://{{ apps_vars.nextcloud.domain }} + TRUSTED_PROXIES: '{{ proxy_host }} {{ apps_vars.nginx.docker_ipv4 }} fd02::/64' + NEXTCLOUD_TRUSTED_DOMAINS: {{ apps_vars.nextcloud.domain }} NEXTCLOUD_INIT_LOCK: true PHP_MEMORY_LIMIT: 2G PHP_UPLOAD_LIMIT: 16G