Nextcloud AIO Behind NGINX Proxy Manager - eviltoast

Hi All, I encountered a weird issue and I am stumped what could be going on.

I spun a cloud vm and installed docker, then proceeded to install portainer for ease of use.

I installed the two necessary containers for this instance , Nextcloud AIO and NGINX Proxy Manager.

I followed https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md

But for some sort of weird issue I could not connect with the reverse proxy to the nextcloud instance.

Even when i resorted to the nginx shell the localhost:11000 the place where nextcloud apache is hosted could not be resolved.

Managed to gain access to the container by using the docker virtual ip of the apache container, but i see this as no solution because the virtual ip can change whenever an update is applied.

I appreciate your views and solutions :)