Nextcloud .htaccess error
If you have this error after upgrade your instance and it worked before, you could solve this error by checking into the
/var/www/nextcloud/config/config.php
file and check if you have any trusted domains which are not available anymore. Just remove them and you should be good to go.
Enjoy,
Your ArtIT Team