fractalnetworksco / selfhosted-gateway

Self-hosted Docker native tunneling to localhost. Expose local docker containers to the public Internet via a simple docker compose interface.
https://fractalnetworks.co
GNU Affero General Public License v3.0
1.19k stars 64 forks source link

Setup with existing Nginx Proxy Manager #57

Open m3tc0n opened 1 week ago

m3tc0n commented 1 week ago

Hi, I have an existing NPM container running on my home server. Is it possible to point the traffic from the VPS to the NPM?

For example: VPS (immich.domain.com) > tunnel > NPM (immich.domain.com > 192.168.30.3:2381) > Immich container with local IP 192.168.30.3:2381.

Or any other suggestions?

thebalaa commented 2 days ago

this should work, would you like to route all domains from the VPS to the NPM?

m3tc0n commented 2 days ago

Yes, I have about 5 services I want to expose through the vps with 5 different subdomains. What is the best thing to do? Is it possible to only setup a tunnel gateway link to NPM on my home server and route all domains through it?