I’ve just purchased an intel nuc for a homelab.

I have installed ubuntu server, docker, portainer successfully.

I have containers for radarr, sonarr, lidarr, sabnzbd etc. all running on the same IP address, but different ports.

I have a free no-ip domain name (dyndns) which resolves to my main router - all working.

In my router, I have port mapping setup to get to the different services above.

I want to be able to use URLs like (either):

- http://radarr.[[domain]]

- http://[[domain]]/radarr

But I don’t know how to do it with the nginx manager. I’ve tried to follow a couple of tutorials, but couldn’t get it working properly.

I assume what I want to do is perfectly do-able, I just can’t seem to crack it.

Any help?

TIA

  • Xenkath@alien.topB
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    The only ports you need forwarded on your router are 80 and 443 to the local ip address NPM is hosted at, don’t forward ports to your services from the router. Your reverse proxy forwards traffic for each subdomain to the corresponding ip and port of your services.