diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-06-12 14:30:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 14:30:39 +0300 |
commit | e9a833743dcf0307b69caae5849fd8f065a70e61 (patch) | |
tree | 225149dc685dc6ca96143f28a3c00e6bc57fd32a /apps | |
parent | f3e79608da1a9d9eab1a3fb298979298b6a16a08 (diff) |
Trusted domain (#266)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/collabora.sh | 1 | ||||
-rw-r--r-- | apps/onlyoffice.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/collabora.sh b/apps/collabora.sh index 6335a567..5adc96c2 100644 --- a/apps/collabora.sh +++ b/apps/collabora.sh @@ -319,6 +319,7 @@ then check_command sudo -u www-data php "$NCPATH"/occ app:enable richdocuments check_command sudo -u www-data "$NCPATH"/occ config:app:set richdocuments wopi_url --value="https://$SUBDOMAIN" chown -R www-data:www-data $NCPATH/apps + sudo "$NCPATH"/occ config:system:set trusted_domains 3 --value="$SUBDOMAIN" # Add prune command { echo "#!/bin/bash" diff --git a/apps/onlyoffice.sh b/apps/onlyoffice.sh index 63d35235..25c2a655 100644 --- a/apps/onlyoffice.sh +++ b/apps/onlyoffice.sh @@ -306,6 +306,7 @@ then check_command sudo -u www-data php "$NCPATH"/occ app:enable onlyoffice check_command sudo -u www-data php "$NCPATH"/occ config:app:set onlyoffice DocumentServerUrl --value="https://$SUBDOMAIN/" chown -R www-data:www-data $NCPATH/apps + sudo "$NCPATH"/occ config:system:set trusted_domains 3 --value="$SUBDOMAIN" # Add prune command { echo "#!/bin/bash" |