I’ve installed Nextcloud on my web site, and seems to be working fine.
www.domain.tld/nextcloud
I’ve configured a subdomain, nextcloud.domain.tld and pointed the document root appropriately.
http://nextcloud.domain.tld takes me nicely to the login page.
BUT if I log in, the URL I then get sent to is incorrect:
nextcloud.domain.tld/nextcloud/index.php
The ‘nextcloud’ subdir should not be there.
If I then remove the superfluous directory and go straight to:
nextcloud.domain.tld/index.php
then everything appears to work fine from here on in.
Is this a bug with url generation? Seems to only affect the after log in landing page.
Or is there some config to change?