this post was submitted on 12 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] Xenkath@alien.top 2 points 1 year 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.