Part of the Web Apps family, Nextcloud supports many familiar components shared by all other apps. See WebApps.md for preliminary information that covers the update process.
The first position in
trusted_domain is reserved for the domain under which Nextcloud is installed. It may be changed by reconfiguring the hostname via
nextcloud:reconfigure domain.com path migrate newdomain.com.