I am running a proxmox server with two VM’s currently. One for home assistant, and one with ubuntu server that is mainly used to run docker containers.

I am using duckdns to get urls mapped to my public ip, and I am using nginx proxy manager to direct the different urls to different ports. Npm is an addon running on my HA.

I want one url to point to my HA, and the other to an application in a docker container.

The problem is that the urls do not redirect me to the right ip’s/ports. Unfortunately, I am not very experienced with these things, so it is very likely that I have misunderstood either npm or how I should set up my port forwarding.

In an image I show how my port forwarding is setup. 8123 is home assistant, 81 is npm, and 9090 is the application.

I realize that 443 is the https port and I have tried forwarding it to 8123, 81 and 443. None give me the solution I am after. If I don’t forward it to 8123, I cant access my HA unless i manually type 8123 after the url (isnt this what npm is for?). If I have it on 8123, I assume it is not being routed through my npm. How would I handle this? Should I really have https before my private ip?

The other image show how my npm is setup.

https://preview.redd.it/r7jisy8br52c1.png?width=1032&format=png&auto=webp&s=fc166de79806afd947f2f60a3fd26ce726a20e20

https://preview.redd.it/001rj4c4q52c1.png?width=696&format=png&auto=webp&s=a7aa8846277919016c43ac1979dffc6d0285681d