I have recently taken the dive in to the world of Docker, and set up Portainer to manage my Docker instances as I am a complete newb at it all. One of the reasons I am setting it up is to be able to run NGINX Proxy Manager and a few other bits of software that only come in Docker form.
I successfully got NGINX PM set up and running, and by default the image only publishes ports 80, 81 and 443. I am running some other services (Game server, TS3 server) and would like to have them set up running through NGINX (As a stream, as I believe that is the only way to deal with ports other than 80 and 443)
So now my question or dilemma is, how do I get additional ports published so that the NGINX Docker container can see additional ports through Portainer? I want to push them all through NGINX, so I can take advantage of the SSL functions, and have all port forwards pointed at NGINX.
Not everything can run or work through NPM. The purpose of a reverse proxy is so that system can connect to it at port 80/443 sending the site they site they are requesting and the proxy manager will give them that site.
If you want to it to work with something other that HTTP, you have to define that in the “Streams” configuration. (disclaimer: that’s what brave says ) It’s one of the referenced sites at least: Nginx Proxy Manager: How to Setup and Use — RapidSeedbox
Thanks Tom, what would be your recommendations for how to set up the Game Server(s) and TS3?
I currently have it all segregated into a Web Server VLAN which is a DMZ Zone on Unifi, and individual ports forwarded directly to the applicable servers.
If I was wanting to have valid SSL certificates for those servers (Instead of their default self-generated ones), can I set up LetsEncrypt certs for the servers themselves (And point Port 80/443 at them through the Proxy), or will that not be picked up by the game(s) and TS3?
I can start a new topic if this one is straying too far from original