jlesage / docker-nginx-proxy-manager

Docker container for Nginx Proxy Manager
MIT License
762 stars 170 forks source link

Intergration with Ombi as a Reverse Proxy #62

Open ForrestAM opened 4 years ago

ForrestAM commented 4 years ago

Hi! I'm fairly new to Nginx and networking of this Level, and I'm currently trying to setup a revers proxy with a website I'm currently using on Cloudflare. I'm trying to forward Ombi and Sonarr to subdomains from my Unraid server. As an example, I have my Unraid server IP at 192.168.0.170 on my local network and Ombi is at 192.168.0.170:3579. I'm trying to get that 192.168.0.170:3579 out to be translatable to something like Ombi.Example.Com, so when you go to the mentioned website it takes you to the same web ui as if I connected to it in my local network. I'm not quite sure how to go about this and I've honestly gotten a little confused. I Had it previously setup using the LetsEncrypt docker but I've moved and wanted to try using this. Any help is appreciated

jlesage commented 4 years ago

You need to create a new Proxy Host, with the following settings:

Then, under the SSL tab, select Request a new SSL certificate under the SSL certificate drop-down. You can enable Force SSL.

Once you save, a SSL certificate will be generated with LetsEncrypt. Make sure you container is accessible from the internet on port 80.

ForrestAM commented 4 years ago

Okay! Thank you! I was just not sure as to where everything would go. It's Much Appreciated!

cjlee89 commented 4 years ago

Were you able to get this running? I keep getting 502 Bad Gateway when visiting https://ombi.mydomain.com. Something must have changed with Ombi because it has worked before.

Error: 2020/07/08 19:10:17 [error] 4310#4310: *1857 connect() failed (113: Host is unreachable) while connecting to upstream

jlesage commented 4 years ago

Are you able to reach Ombi using the IP/port configured in your proxy host ?

cjlee89 commented 4 years ago

Are you able to reach Ombi using the IP/port configured in your proxy host ?

Yep!