Nexcloud - how to? - https://mydomain/nextcloud

I have successfully installed the docker image linuxserver/nextcloud on my QNAP 251A NAS. I currently reach the login page with https://mydomain/. For compatibility reasons I would like to log in with https://mydomain/nextcloud/. Is that possible and what do I have to change in which config files?
All my attempts have so far failed.