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

Gluetun works fine. I'm using it both for several other containers, and for proxying my browser through my...
Replies
3
Views
434
You can run cmd.exe to get a command window from which you can execute SSH commands. However, my personal...
Replies
36
Views
3,525
I would like to thank you all for your efforts, but unfortunately still not working . But I found a...
Replies
23
Views
2,473
I have no idea what you are doing, but I just tested it based on the instructions of the guide you linked...
Replies
11
Views
2,808
True! Still, there are certain containers that can be run on those machines as long as users are aware of...
Replies
8
Views
4,840

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Trending threads

Back
Top