From 52b8bf06965d6ad27e37dc14a6fec9ce85d2877e Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 9 Dec 2022 12:42:15 +0100 Subject: [PATCH] make collabora more safe Signed-off-by: Simon L --- Containers/nextcloud/entrypoint.sh | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 7ff28ee2..55d98659 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -400,6 +400,44 @@ if [ "$COLLABORA_ENABLED" = 'yes' ]; then php /var/www/html/occ config:app:set richdocuments wopi_url --value="https://$NC_DOMAIN/" # Fix https://github.com/nextcloud/all-in-one/issues/188: php /var/www/html/occ config:system:set allow_local_remote_servers --type=bool --value=true + # Make collabora more save + COLLABORA_IPv4_ADDRESS="$(echo "