Problem with requests containing domain and port

I have configured Cloudflare zero trust with my nas, linking my domain to my nas with tunnel.

Certain applications work fine and it is possible to access from the outside, but I have a docker that when accessing, internally makes requests to and keeps thinking, since it never finds the route. Internally docker works with this port.

Is it possible to redirect this request to excluding the port, since I have configured nginx proxy manager so that when it looks for the domain it takes it to the proper docker.

Thank you and I hope I have explained myself.

Due to my curiosity, why Nginx Proxy Manager over Docker? :thinking:

I use Unraid and it is easy to implement Nginx Proxy Manager with a docker. That is a problem?