diff --git a/lets-encrypt/test-new-config.sh b/lets-encrypt/test-new-config.sh index 06b11e7f..54d5f32a 100644 --- a/lets-encrypt/test-new-config.sh +++ b/lets-encrypt/test-new-config.sh @@ -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