If you have your own domain, you normally can create as many subdomains as you want. Therefore, I wouldn’t install Nextcloud into a subdirectory (I’m currently planning to move away from the subdirectory) because of the __Host prefix mitigates cookie injection vulnerabilities: