Nginx Proxy Manager - Docker networks

Currently reading
Nginx Proxy Manager - Docker networks

2
0
NAS
DS918+
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
Hi All,

Recently I installed NPM for the first time in docker, using Rusty`s tutorial.
After a lot of trial and error, I`ve managed to setup a proxy host to another docker container app (komga).
However, I`ve been trying to point the reverse proxy to the dsm login page, and it doesn`t seem to work.

How do you configure the docker network for NPM so I can access both docker containers and the dsm page (or photos, videostation.. native syn apps)? So far, I`ve managed to direct the proxy using the container name instead of the LAN IP. My current docker network setup is every container app on the default bridge network and the custom NPM-bridge network (that was installed with the container).

Also, just to make sure I haven`t accidentaly opened too much: the port forwarding on the router is only for 80/443 --> custom ports. And the only firewall changes is to let these custom ports through? No ports for the db (3306) or for the docker network (subnet/gateway) have to be opened?

After I have all the proxy hosts setup, my endgoal is to use Authelia for further security.

Thanks!
 
I`ve restarted both NPM and Mariadb now a few times and I`ve gotten it (mostly) to work.
If I point the domain to http - 10.0.0.x - custom dsm http port, it works (both http and force SSL)
If I point the domain to https - 10.0.0.x - custom dsm https port, I receive a 502 bad gateway (force SSL ON).

Thanks for the quick reply :)
 
Upvote 0
If I point the domain to https - 10.0.0.x - custom dsm https port
No need to internally also push it to HTTPS. You can use HTTPS (public) to HTTP (internal, that works for you). That's why you are using reverse proxy.
 
Upvote 0

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Replies
21
Views
7,074
  • Solved
Yes just to close the loop on this for everyone else's benefit (for those who may come across this in the...
Replies
12
Views
16,795
I haven't found the time yet to create a big post on the NGINX forum on why the IMAP module isn't working...
Replies
48
Views
7,530
It's okay, this morning it just came up, so not sure what was happening. I deleted and re-ran the docker...
Replies
2
Views
2,320
DS1621+ I believe is the model number. I ended up getting it working by installing a swag container and...
Replies
4
Views
3,173
Configure the second reverse to run on a custom port, just so you can port forward from a custom port to...
Replies
3
Views
3,110

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top