where can find All URLs used to access your Nextcloud server must be whitelisted in your
config.php file, under the
trusted_domains setting. Users are allowed to log into Nextcloud only when they point their browsers to a URL that is listed in the
trusted_domains setting. You may use IP addresses and domain names.
is config.php will find.
use terminal to edit that file