Configure nextcloud as part of a nginx website

I need to put a few standard html pages in front of nextcloud. I want to have a link on the homepage to get into nextcloud. I am running on Ubuntu using nginx. Nextcloud runs fine if I set it up as the sole system on the site. I try to create hrefs anchor tags like /nextcloud but it won’t go there. What am I missing. Any pointers to examples will be greatly appreciated.

I’m not sure if this is a nginx server config for location or something I need to configure in nextcloud config.

I try hrefs like:
/nextcloud
/nextcloud/login
/nextcloud/index.php
https://[my url]/nextcloud

Nothing is working.
It’s driving me crazy.

There is an example nginx configuration for driving Nextcloud in a subfolder of webroot.
That is definitely a good starting point:
https://docs.nextcloud.com/server/19/admin_manual/installation/nginx.html#nextcloud-in-a-subdir-of-the-nginx-webroot