Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Nginx Proxy Manager (NPM) Official

Featured Replies

31 minutes ago, coltonc18 said:

Good morning, 

I'm not sure what has happened....everything was working fine, but now all of a sudden, I'm getting 522 timeout errors.  Everything was working, but now none of my proxies work.  I have 11 setup and none work anymore.  I've got nothing in the logs either.

image.thumb.png.2c36d1f4c342e0f2564b6a958cc78956.png

figured it out...damn Brightspeed changed my IP address, but not sure how to automatically detect that with cloudflare like I did with duckdns

  • Replies 1.2k
  • Views 392.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • malghana
    malghana

    Solution: For easy access, copied this solution from Github user: "marcosvfc" GitHub Cannot Log into Admin After Upgrade to 2.12.4 · Issue #46... Checklist Have you pulled and found the error with j

  • No joke: I missed this part in the docs:   I will update the container and remove the external DB. SQLite is the easier option for the user.

  • I think this is false.   Try this in advanced: location / { add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;   proxy_set_header Upgrade $ht

Posted Images

There are cloudflare ddns updater containers in Apps.

5 minutes ago, Kilrah said:

There are cloudflare ddns updater containers in Apps.

I'll look for one when I get home.

17 hours ago, coltonc18 said:

I'll look for one when I get home.

I guess most routers have the option as well. I update my IP from OPNsense.

image.thumb.png.fa09a00063f60843e3ffb5c78afd82b3.png

On 2/15/2024 at 5:45 AM, flosken said:

I guess most routers have the option as well. I update my IP from OPNsense.

image.thumb.png.fa09a00063f60843e3ffb5c78afd82b3.png

I've got a containter setup for it now...I guess when I switched from duckdns to cloudflare I just never set it up, and forgot about that piece. 

Edited by coltonc18

  • 2 weeks later...

Server Error 502 Bad Gateway for Nextcloud

 

Running Nextcloud and NGINX Proxy Manager on UnRaid. When attempting to access Nextcloud through reverse proxy, I get a 502 Bad Gateway error. Previously I had Nextcloud setup behind a reverse proxy administered by SWAG. After a server issue in which I had to delete and rebuild my docker image file, I was unable to get SWAG working. SWAG docker is still installed on the Unraid server but is not running. I have since setup NPM to handle the reverse proxy duties. I have my own domain administered by Gandi.net; and I am using Duckdns.  I have NPM running successfully with Overseer and Bitwarden (Vaultwarden) dockers and BlueIris running in a Windows VM. I went through the steps in this post

 

 

 

 

 

1.)    Does the NPM container work?

 

Yes

 

2.)    Is NPM online?

 

"http://XX.XX.XX.XX". Results in the following:

image.png.922e2b915ba0e7d4028715a8d3a9f9b7.png

HTTPS gets:

image.png.3946159e9333f626ce74b86f5b831818.png

 

3.)    Does your target container work?

 

https://192.168.1.220:8666/apps/dashboard/#/

image.png.3457ef0e9fb8e600552c8ebae3ae8ef4.png

However, http://192.168.1.220:8666 results in

image.png.1db7acf91037967df1713c37b29cc603.png

 

4.)    Does NPM reach your target container?

 

image.png.b0ecdbdd448d07bfcee4e7e90d44f404.png

However, using HTTPS

image.png.07f474fb60afb920d9e79744996eae93.png

All the dockers are running on the “Bridge” network.

 

5.)    Another reason could be that you selected the wrong scheme. For example, you used "http", but your target container only supports incoming connections through the scheme "https".

 

I have tried both http and https. I have tried with and without HSTS.

 

6.)    Or you used the wrong ports. So double check your proxy host settings!

 

I have checked the ports multiple times.

 

A weird, maybe related, side note: I cannot enter http://nextcloud.xxxxxxx.xxx , it always gets changed to https://nextcloud.xxxxxxx.xxx

 

 

 

 

 

 

Edited by crusemm
additional information

You need to use both the http port of the NC container and the http forwarding scheme. Seems you're using the https container port.

Edited by Kilrah

6 hours ago, Kilrah said:

You need to use both the http port of the NC container and the http forwarding scheme. Seems you're using the https container port.

So how do I set that up? where is it and what changes do I need to make? Is it a NC  setting, or something in NPM?

All in NPM normally.

4 minutes ago, Kilrah said:

All in NPM normally.

image.png.a38efb7d1280c899ddca39ef1d84b27b.png

Are you talking about this? or is there another place to make the change?

That's it, but the whole point is to use the correct port. I don't know what your port maps for nextcloud are / whether 8666 is the correct http one and not https.

5 minutes ago, Kilrah said:

That's it, but the whole point is to use the correct port. I don't know what your port maps for nextcloud are / whether 8666 is the correct http one and not https.

image.thumb.png.9881519301a022699bc82a0a9c8dd31a.png

From the nextcloud docker

image.png.b3138c61707049694a9af30c2a6b2987.png

From the NPM docker settings

image.png.1b2dbbadb629c112edf276a14187fd2a.png

from the router Port Forwarding

Edited by crusemm
add information

That maps to 443 so it is the https port.

8 hours ago, Kilrah said:

That maps to 443 so it is the https port.

So how do I get NPM to send the https://nextcloud.mydomain.com to my NC docker? Or how do I get my NC to allow the http to connect through?

You've never shown the full template or mentioned which of the NC containers in CA you used, so maybe start with that.

Started seeing this on my container logs. Any ideas?:
 

[3/9/2024] [8:51:02 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-7' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = E8ixmXcgsMcPrghtqaEzqD
dns_godaddy_key = dKszgmKm6V5H_5UdqHPfw85JAEcekAwYmeV' > '/etc/letsencrypt/credentials/credentials-7' && chmod 600 '/etc/letsencrypt/credentials/credentials-7'; }
[3/9/2024] [8:51:02 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-8' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = 8joRh5JhKckugx3Rj1SjBS
dns_godaddy_key = dKszgmKm6V5H_S3kkuLzm23myxdecRv45V3' > '/etc/letsencrypt/credentials/credentials-8' && chmod 600 '/etc/letsencrypt/credentials/credentials-8'; }
[3/9/2024] [8:51:02 PM] [Certbot  ] › ▶  start     Installing godaddy...
[3/9/2024] [8:51:02 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-godaddy==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+')  && deactivate
[3/9/2024] [8:51:11 PM] [Certbot  ] › ✖  error     ERROR: Could not find a version that satisfies the requirement certbot-dns-godaddy==2.9.0 (from versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 2.6.0, 2.7.4, 2.8.0)
ERROR: No matching distribution found for certbot-dns-godaddy==2.9.0

[3/9/2024] [8:51:11 PM] [Global   ] › ✖  error     Some plugins failed to install. Please check the logs above
[3/9/2024] [8:51:12 PM] [Migrate  ] › ℹ  info      Current database version: none
[3/9/2024] [8:51:12 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-7' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = E8ixmXcgsMcPrghtqaEzqD
dns_godaddy_key = dKszgmKm6V5H_5UdqHPfw85JAEcekAwYmeV' > '/etc/letsencrypt/credentials/credentials-7' && chmod 600 '/etc/letsencrypt/credentials/credentials-7'; }
[3/9/2024] [8:51:12 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-8' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = 8joRh5JhKckugx3Rj1SjBS
dns_godaddy_key = dKszgmKm6V5H_S3kkuLzm23myxdecRv45V3' > '/etc/letsencrypt/credentials/credentials-8' && chmod 600 '/etc/letsencrypt/credentials/credentials-8'; }
[3/9/2024] [8:51:12 PM] [Certbot  ] › ▶  start     Installing godaddy...
[3/9/2024] [8:51:12 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-godaddy==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+')  && deactivate
[3/9/2024] [8:51:21 PM] [Certbot  ] › ✖  error     ERROR: Could not find a version that satisfies the requirement certbot-dns-godaddy==2.9.0 (from versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 2.6.0, 2.7.4, 2.8.0)
ERROR: No matching distribution found for certbot-dns-godaddy==2.9.0

[3/9/2024] [8:51:21 PM] [Global   ] › ✖  error     Some plugins failed to install. Please check the logs above
[3/9/2024] [8:51:22 PM] [Migrate  ] › ℹ  info      Current database version: none
[3/9/2024] [8:51:22 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-7' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = E8ixmXcgsMcPrghtqaEzqD
dns_godaddy_key = dKszgmKm6V5H_5UdqHPfw85JAEcekAwYmeV' > '/etc/letsencrypt/credentials/credentials-7' && chmod 600 '/etc/letsencrypt/credentials/credentials-7'; }
[3/9/2024] [8:51:22 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-8' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = 8joRh5JhKckugx3Rj1SjBS
dns_godaddy_key = dKszgmKm6V5H_S3kkuLzm23myxdecRv45V3' > '/etc/letsencrypt/credentials/credentials-8' && chmod 600 '/etc/letsencrypt/credentials/credentials-8'; }
[3/9/2024] [8:51:22 PM] [Certbot  ] › ▶  start     Installing godaddy...
[3/9/2024] [8:51:22 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-godaddy==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+')  && deactivate

 

I also am no longer able to login to the web UI.. :(

 

Container: jc21/nginx-proxy-manager

I solved my Nextcloud issue. I had the wrong Ip address and port. I was using the Unraid IP and the NC port, when I needed to use the IP and port 443.

image.png.a0f36184f8f9ee6116b44b60b566e23d.png

Hi, if I have understood correctly, the GeoIP2 module is now supported with the latest release of NPM. 
I have seen a small config example here github issue. Unfortunately, I didn't quite understand how and where I have to enter my whitelisted countries. 
has anyone here already got the module to run successfully or can help me? Thank you!

On 3/9/2024 at 8:54 PM, jarkle said:

Started seeing this on my container logs. Any ideas?:
 

[3/9/2024] [8:51:02 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-7' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = E8ixmXcgsMcPrghtqaEzqD
dns_godaddy_key = dKszgmKm6V5H_5UdqHPfw85JAEcekAwYmeV' > '/etc/letsencrypt/credentials/credentials-7' && chmod 600 '/etc/letsencrypt/credentials/credentials-7'; }
[3/9/2024] [8:51:02 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-8' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = 8joRh5JhKckugx3Rj1SjBS
dns_godaddy_key = dKszgmKm6V5H_S3kkuLzm23myxdecRv45V3' > '/etc/letsencrypt/credentials/credentials-8' && chmod 600 '/etc/letsencrypt/credentials/credentials-8'; }
[3/9/2024] [8:51:02 PM] [Certbot  ] › ▶  start     Installing godaddy...
[3/9/2024] [8:51:02 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-godaddy==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+')  && deactivate
[3/9/2024] [8:51:11 PM] [Certbot  ] › ✖  error     ERROR: Could not find a version that satisfies the requirement certbot-dns-godaddy==2.9.0 (from versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 2.6.0, 2.7.4, 2.8.0)
ERROR: No matching distribution found for certbot-dns-godaddy==2.9.0

[3/9/2024] [8:51:11 PM] [Global   ] › ✖  error     Some plugins failed to install. Please check the logs above
[3/9/2024] [8:51:12 PM] [Migrate  ] › ℹ  info      Current database version: none
[3/9/2024] [8:51:12 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-7' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = E8ixmXcgsMcPrghtqaEzqD
dns_godaddy_key = dKszgmKm6V5H_5UdqHPfw85JAEcekAwYmeV' > '/etc/letsencrypt/credentials/credentials-7' && chmod 600 '/etc/letsencrypt/credentials/credentials-7'; }
[3/9/2024] [8:51:12 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-8' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = 8joRh5JhKckugx3Rj1SjBS
dns_godaddy_key = dKszgmKm6V5H_S3kkuLzm23myxdecRv45V3' > '/etc/letsencrypt/credentials/credentials-8' && chmod 600 '/etc/letsencrypt/credentials/credentials-8'; }
[3/9/2024] [8:51:12 PM] [Certbot  ] › ▶  start     Installing godaddy...
[3/9/2024] [8:51:12 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-godaddy==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+')  && deactivate
[3/9/2024] [8:51:21 PM] [Certbot  ] › ✖  error     ERROR: Could not find a version that satisfies the requirement certbot-dns-godaddy==2.9.0 (from versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 2.6.0, 2.7.4, 2.8.0)
ERROR: No matching distribution found for certbot-dns-godaddy==2.9.0

[3/9/2024] [8:51:21 PM] [Global   ] › ✖  error     Some plugins failed to install. Please check the logs above
[3/9/2024] [8:51:22 PM] [Migrate  ] › ℹ  info      Current database version: none
[3/9/2024] [8:51:22 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-7' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = E8ixmXcgsMcPrghtqaEzqD
dns_godaddy_key = dKszgmKm6V5H_5UdqHPfw85JAEcekAwYmeV' > '/etc/letsencrypt/credentials/credentials-7' && chmod 600 '/etc/letsencrypt/credentials/credentials-7'; }
[3/9/2024] [8:51:22 PM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-8' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_godaddy_secret = 8joRh5JhKckugx3Rj1SjBS
dns_godaddy_key = dKszgmKm6V5H_S3kkuLzm23myxdecRv45V3' > '/etc/letsencrypt/credentials/credentials-8' && chmod 600 '/etc/letsencrypt/credentials/credentials-8'; }
[3/9/2024] [8:51:22 PM] [Certbot  ] › ▶  start     Installing godaddy...
[3/9/2024] [8:51:22 PM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir  certbot-dns-godaddy==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+')  && deactivate

 

I also am no longer able to login to the web UI.. :(

 

Container: jc21/nginx-proxy-manager

Fixed it with this:
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3592

Edited by jarkle

Hey guys.

I use NPM to direct to two different hosted sites access via completely different external domains.  

I use two separate NGINX containers - one for each site.

 

I'm wondering if I can combine those into one container.

 

Like instead of having

/appdata/nginx/www/index.html

for one site and

/appdata/nginxphp8/www/index.html

for the other site (two different container appdata folders).

 

I want something like 

/appdata/nginx/www/site1/index.html

/appdata/nginx/www/site2/index.html

 

Is this possible using NPM?

I see a Custom Location tab in Edit Proxy Host but not sure that does what I want it do to.  

I tried to enter the correct folder in the location but I have a feeling this isn't exactly what I think it is.

 

Thanks for any info/advice!

 

Hi, aren't the certificates automatically renewed by NPM ?

I got an e-mail from let´s encrypt:

Quote

Your certificate (or certificates) for the names listed below will expire in 19 days (on 2024-04-01). Please make sure to renew your certificate before then, or visitors to your web site will encounter errors.

We recommend renewing certificates automatically when they have a third of their total lifetime left. For Let's Encrypt's current 90-day certificates, that means renewing 30 days before expiration

 

 

They are unless there's an error, such as a domain you removed but kept the cerificate for.

I tried to manually renew:

Quote

Internal Error

 

I'm running another Nginx as a web server on port 80/443 on a VM, with certbot.

NPM (proxy) runs on port 40xxx - is that the reason ??

same domain for all

Hello People:)

 

I've installed nginx proxy manager on my unraid server.. The problem is that i now cant access my jellyfin from my local lan.. 

I've googled this error and some say that it could be a let's encrypt error??

 

Anyone who have an idea, on how to solve this??

 

Thank you.

regards:)

3 hours ago, Mattti1912 said:

The problem is that i now cant access my jellyfin from my local lan.. 

That statement implies you can reach it from a WAN connection, which would mean a hairpin / loopback configuration error in your router.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.