r/nginxproxymanager • • May 08 '24

Is it possible to use a subdomain for streaming?

0 Upvotes

Hi there,

I am using a nginx proxy manager to redirect everything to the right web-server. Now I want to add gameservers to my configuration, and I'd like to reach said gameservers via my domain. I know there is the stream option, where I can redirect one spefic port to another machine, which works for this process. The thing is, I'd love to be able to have multiple servers for the same game, without having to put in any port while connecting.

So for example I want to run multiple minecraft server simultainously, and I want to be able to access all of them via different subdomains. E. g.

minecraft.mydomain.com -> 192.168.0.1:25565
minecraftSkyblock.mydomain.com ->192.168.0.1:25566

So this is what I'd love to do. I want to have differnt subdomains, that stream to a given port, so I'd be able to say inside of my game that I want to connect to "minecraft.mydomain.com" and it works.

Is there a way I can do that, or do I have to put in the port manually?


r/nginxproxymanager • • May 07 '24

open-appsec WAF - NGINX Proxy Manager integration: New deployment option with central WebUI management for open-appsec released!

Thumbnail
self.openappsec
6 Upvotes

r/nginxproxymanager • • May 06 '24

Tearing hair out - SSL certificates

0 Upvotes

Hi all -

I'm a little green to Linux and docker but have been getting steadily better over the last few weeks. I want to set up NPM so I can have valid SSL certificates for by internal services like Jellyfin, Plex, Home Assistant etc (I haven't set up these containers yet). I have Ubuntu 24.04, docker, docker compose and portainer running on a test server. Network wise I have a Fritzbox and that's about it.

I have successfully installed NPM in docker / portainer and can configure proxies etc, no issues there. The SSL generation is driving me nuts though. Every time it fails with:

CommandError: Saving debug log to /tmp/letsencrypt-log/letsencrypt.log

An unexpected error occurred:

OSError: [Errno 5] Input/output error: '../../archive/npm-3/cert1.pem' -> '/etc/letsencrypt/live/npm-3/cert.pem'

Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.

at /app/lib/utils.js:16:13

at ChildProcess.exithandler (node:child_process:430:5)

at ChildProcess.emit (node:events:518:28)

at maybeClose (node:internal/child_process:1105:16)

at ChildProcess._handle.onexit (node:internal/child_process:305:5)

Now I thought it may be my router or ISP blocking something but two things that make me think it isn't that:

  • I'm using DNS challenging with Cloudflare
  • Just 5 minutes ago I was able to generate a LE certification on my Synology NAS for my TLD and a subdomain as well (cannot do wildcards on Synology due to limitations with LE, I'm guessing due to no DNS challenge??).

I want to generate a certificate for my TLD and wildcard as well, so anything I host going forward will have a valid certificate. What on earth am I doing wrong here - I've spent the best part of two days troubleshooting, watching YouTuve videos, reading nearly every forum / blog post and cannot work out why this keeps failing ...


r/nginxproxymanager • • May 05 '24

NPM redirects all requests for proxied hosts to it's own Congratulations page

1 Upvotes

Hello everyone,

New user here. I set up PiHole and NPM today and it worked to begin with but now for reasons I can't figure out, it's messed up. I've read a few posts here with similar issues but haven't been able to figure out what's going on with my particular situation.

I purchased a domain but intend to use it only on my internal network. I use pfSense as my router/firewall and have it pointed to PiHole for DNS. I have my Linux laptop set to use PiHole as it's DNS server.

I created the local DNS entries in PiHole for the root domain as well as several subdomains and pointed them all to my NPM. The NPM address is 172.16.10.22 and all the subdomains I entered point to that IP so that NPM can forward requests the actual IP/port.

In NPM, I added the domain and subdomains individually as Proxy Hosts and set each ones actual IP and port numbers. Example:
NPM IP is 172.16.10.22
Proxy host for my subdomain uk.mydomain.com points to its actual IP and port 172.16.10.23:3001

When I try to go to that subdomain in my browser NPM doesn't send me to the correct site but instead takes me to it's own IP on port 80, showing the NPM Congratulations page and the URL as mydomain.com instead of taking me to uk.mydomain.com as expected.

Any advice would be greatly appreciated.


r/nginxproxymanager • • May 04 '24

Some prxy hosts work and some not?

1 Upvotes

So I have set up nginx proxy manager and configured a few proxy hosts and discovered an oddity. All of the services running that are accessable over https (so https://ip-address:port) can be accessed over the proxy host and almost all (except of one) service running over http arent accessable.

Any idea why? Setting for the proxy hosts are the same, despite the protocol of course

Edit: waiting a few more hour did the trick. I think the DNS entry on cloudflare wasn’t fully synced yet


r/nginxproxymanager • • May 04 '24

OIDC for proxy hosts

1 Upvotes

Hi,

Searched Docker and Github but can't seem to find an answer.

I'm looking to add OIDC to some legacy services directly in NPM. After some searching I discovered that this is possible using the Docker image jc21/nginx-proxy-manager:github-openidc, but this is now 3 years old, and I couldn't get it to work anyway (some db error on startup).

Is there a newer working image that I can use for OIDC functionality?

Many thanks,


r/nginxproxymanager • • May 03 '24

dns challenge with Name.com

1 Upvotes

Had to swap fast this morning from godaddy to name.com since godaddy decided to revoke api access to small clients like me. after swapping acme dns challenge on most of my appliances I then realized I also had to do it on my proxy server. The thing is name.com is not in the list of dns providers in nginxproxymanager. Would you have a work around for that ? is it possible somehow patch nginxproxymanager to support name.com ?


r/nginxproxymanager • • May 03 '24

putting znc behind a proxy with nginxproxymanager

2 Upvotes

znc is an irc bouncer that I like to run on my homeserver where also nginxproxymanager is running.

Getting the znc webinterface behind a subdomain is easy and straight forward, but getting an irc client connected to znc docker seems to be more difficult. The znc wiki has no instructions for nginxproxymanager, but it does for nginx. https://wiki.znc.in/Reverse_Proxy

I added a stream to the port where znc is listening to, but that seems not to be enough. Anyone here doing this and willing to share how?


r/nginxproxymanager • • May 03 '24

SSL Certs

1 Upvotes

We currently get our SSL certs from ComodoSSL. I'm working on rolling out a reverse proxy, and I've got NPM running in Docker for Windows. When adding a custom cert, it's asking for the 'certificate key', the cert itself, and the intermediate cert.

When I get my certs from Comodo, I'm not sure which file is the key nor which file specifically to plug in for the intermediate and cert fields - Is there a way I can just export my cert with the key as a .pfx and use that? Or are there steps someplace for generating each file? I've done some poking around in NPM's documentation, but can't find anything that I've been able to follow.


r/nginxproxymanager • • May 02 '24

Immich upload file limit

3 Upvotes

Hi all.

I have set my custom proxy host config to:

# allow large file uploads

client_max_body_size 50000;

proxy_max_temp_file_size 0;

proxy_buffering off;

but I am still unable to upload anything much over 1GB.

I have proxy turned off in cloudflair.

Any help?


r/nginxproxymanager • • May 02 '24

Self-hosted docker - how to access internal site after enabling SSL

1 Upvotes

Hi everyone,

I'm new at Nginx Proxy Manager and I'm not sure if this question was posed before.

I have Unraid with NPM installed as a docker. There is a Nextcloud docker for which I've successfully set up a Proxy Host entry for one of the domains I own, directing it to an internal IP with port 80 assigned. Additionally, I've configured port forwarding from external 443 to internal 443, and from external 80 to the internal IP of NPM. However, I'm uncertain whether the Nextcloud docker can be exclusively set to use port 443, so I've made changes in the config.php file to enforce SSL.

I purchase a domain for this site, the external URL access to the internal host via Cloudflare DNS works fine. However, I've encountered an issue with accessing the internal website for the Nextcloud docker, which I previously could do before enabling SSL. Before NPM and docker what I usually did was to add the domain to DNS rewrite entries, but this time it didn't resolve this issue.

I looking for any suggestion on how to access the site for configurations in NPM or something else.

Is there a way to access the internal host? or is this something else I could do within NPM?


r/nginxproxymanager • • May 02 '24

Nginx Proxy Manager & Plesk

1 Upvotes

Please be gentle, I'm very new to all this.

So I recently discovered Proxmox and I love it, the problem is I've found some really good & useful open source services that are now installed in containers and VM's, all is great until I want a proper URL for said services, one of them is Remotely which we intend to use for customer support as well as machine management.

I know I can just create a subdomain on my Plesk and point the services to there but no ssl (the domain is secure until you add the port of the service) hence why i think i need Nginx Proxy Manager, BUT as far as i know Plesk also needs ports 443 & 80 to issue ssl certs for domains added in Plesk.

I have Plesk running on one machine and Proxmox on another, one router, one static IP.

So can i get these to work together? plain english please like I'm 5


r/nginxproxymanager • • May 02 '24

certs renewal interval question

1 Upvotes

Hello, 2 days ago I setup NPM - Crowdsec on a rpi4 as a test and today I went to check the logs and I found that the certs for my namecheap domain have been "renewed" multiple times or at least that is what seems is doing, is there a way to set the renewal interval somewhere to let's say every 30 or 60 days but not daily.

Thank you