mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 07:26:55 +00:00
secure imaginary with imaginary_key
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
6bc2d1d6ae
commit
fd3f6d9018
4 changed files with 22 additions and 6 deletions
|
|
@ -703,6 +703,7 @@ fi
|
|||
if [ "$IMAGINARY_ENABLED" = 'yes' ]; then
|
||||
php /var/www/html/occ config:system:set enabledPreviewProviders 0 --value="OC\\Preview\\Imaginary"
|
||||
php /var/www/html/occ config:system:set preview_imaginary_url --value="http://$IMAGINARY_HOST:9000"
|
||||
php /var/www/html/occ config:system:set preview_imaginary_key --value="$IMAGINARY_SECRET"
|
||||
else
|
||||
if [ -n "$(php /var/www/html/occ config:system:get preview_imaginary_url)" ]; then
|
||||
php /var/www/html/occ config:system:delete enabledPreviewProviders 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue