twotwigz

joined 10 months ago
 

Finally decided it was time to use cloudflare tunnel and nginx to host 2 services to the web and still be able to mask my home IP address and boy oh boy am I out of my league and unable to figure this out. I watched a few guides and managed to get the cloudflare tunnel set up and nginx to work for my first service, but cannot seem to get it working for the second. I am not sure if its a mistake with nginx or setting up my DNS on cloudflare.

The IP numbers have been modified, but the point should remain the same

Service 1 - Apples

Internal IP: 123.456.789.012:1111

Service 2 - Bananas

Internal IP: 123.456.789.012:2222

Service 1 works when i go to the domain service1.redacted.com but when i attempt to connect to service2.redacted.com outside my network it fails, but works when I am connected to my local network. I tried restarting the nginx container, and it breaks and doesnt load or allow me to access the webgui any longer, requiring a deletion of the stack and recreating it again in docker-compose. Is what I am trying to do possible? If someone is willing to help out, or even hop in a discord call where I can screenshare and walk me through my setup so I can get this working and understand how to setup future services I would be eternally grateful.

[–] twotwigz@alien.top 1 points 10 months ago

My r730 sits at 180-200 watts with a handful of VM’s running and 8 4TB SAS drives. Your numbers seem reasonable.