set FQDN and not conf name

Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
Daniel Hansson 2023-05-02 21:51:08 +02:00 committed by GitHub
parent daaa114f83
commit 5808d439fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,8 +35,8 @@ then
fi
# Set the domain as trusted
add_to_trusted_domains "$1"
nextcloud_occ config:system:set overwrite.cli.url --value="https://$1"
add_to_trusted_domains "$FQDOMAIN"
nextcloud_occ config:system:set overwrite.cli.url --value="https://$FQDOMAIN"
nextcloud_occ maintenance:update:htaccess
# Add crontab