Nextcloud 29, redirects and 'Data directory protected' check
Upgraded to Nextcloud 29 and seeing “Your data directory and your files are probably accessible from the internet” on your admin page?
Do you hava a redirect for any of your trusted_domains
in config/config.php
?
See #45087