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

  • Author

Your router has a public IP. Could be obtained through whatismyip.com or similar. Now open http://<publicIP> 

 

 

  • Replies 1.2k
  • Views 392.9k
  • 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

I tried the http://xxx.xx.xxx.232 (http://<publicIP> ) and it says This site can’t be reached.

  • Author

This is what you should see:

 

Screenshot_20220412_191942.thumb.png.237ab8f75df88511834490cf2bd54434.png

 

If this does not work:

A) Your router blocks Port 80

B) You don't have a public IPv4 (instead it's a proxified IP of your provider)

C) The traffic of Port 80 does not reach any target 

 

Check your router settings and verify if your are really having a public IPv4 (through your router, too).

 

 

 

Thank you for sticking with me.

I might have missed understood what you asked me to do.

Where should I have put in the public ip, I just did it in my Firefox browser.

But from the reply you gave it looks like I may have done it wrong.

  • Author
4 minutes ago, carltonb said:

I just did it in my Firefox browser.

This is correct. My screenshot shows only the mobile chrome browser.

 

EDIT: ah one moment. Maybe you're router does not support hairpinning. Please test the IP from outside of your local network (cell phone mobile data).

 

I tested the IP from outside of my local network using my cell phones mobile data and got the same message that it could not connect.

  • Author

And which ports did you open in your router and what are the targets of the forwarding?

I realize that after container has been created this process may vary slightly but is there a way to connect this container to multiple networks?

There’s a different version of NPM floating around and it supports such. Does this container support it too? If so, how does one set it up after container has already been created? Does the —net flag still need passed through?

For reference, this is other container, but wondering if this is applicable to this container too:

aa14866c0e137f4b3409173ec81476f2.png

  • Author

This is a basic function of docker and is valid for all containers.

This is a basic function of docker and is valid for all containers.

Are you aware of any guides or tutorials to do this correctly with Unraid?

All the thanks, as usual :-)
On 4/12/2022 at 1:28 PM, mgutt said:

This is what you should see:

 

Screenshot_20220412_191942.thumb.png.237ab8f75df88511834490cf2bd54434.png

 

If this does not work:

A) Your router blocks Port 80

B) You don't have a public IPv4 (instead it's a proxified IP of your provider)

C) The traffic of Port 80 does not reach any target 

 

Check your router settings and verify if your are really having a public IPv4 (through your router, too).

 

 

 

Hello, i seem to be having a similar problem.

im using duckDNS, and if i go on my phone, (outside network) and enter my unraid public IP, with the port that is forwarded to the Nginx port, it works.

But if i use the duckDNS address, i get a 502 gateway error.

Any idea what im doing wrong?

Thanks!

  • Author
4 hours ago, TurboStreetCar said:

Any idea what im doing wrong?

Check the first posts how to debug 5xx errors

Is there a reason I can't get any apps to work with websockets? I have 2 specifically that I have toggled the `Websockets Support` option and both apps are constantly complaining about websockets not working.

 

One of them in particular has a section for setting up NPM, and it was just toggling the option: https://github.com/advplyr/audiobookshelf#nginx-proxy-manager

 

Is there something obvious I'm missing?

  • Author

I enabled websockets for Plex and it works.

 

Are you using an additional Proxy like cloudflare or do you have a proxified IPv4 address through your internet provider?

Nginx is returning router ip[192.168.0.1] instead of the client ip. This started to happen about a week ago, does anyone know why this is happening?

 

Logs look like this:

[23/Apr/2022:13:55:32 +0800] - 200 200 - GET https my.domain.com "/login" [Client 192.168.0.1] [Length 5753] [Gzip -] [Sent-to nextcloud] "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0" "-"

Edited by Sat
remove domain and typo

21 hours ago, mgutt said:

I enabled websockets for Plex and it works.

 

Are you using an additional Proxy like cloudflare or do you have a proxified IPv4 address through your internet provider?

No, I had to enable some custom nginx config for it to work in Jellyfin, but no other apps work by just toggling that option

  • 2 weeks later...

I can’t figure this out.  I adjusted unRAID’s http/https ports so I could assign 80 and 443 to NPM (I also had the same problem before I changed this, but this is current configuration).  My router has 80 and 443 forwarded correctly.  If I type my domain in by itself, I get the NPM congratulations page.  But if I put anything in front of it, such as unifi, plex, nginx, or www, I get ‘cannot open the page because cannot connect to server’.  But all services are running.  nginx forwards to port 81 and even when clicking the entry from within nginx on port 81, it still cannot connect to the server.

 

I am using CloudFlare, but dns only, no proxy there.  The entries are there.  I use a wildcard, but I’ve added the explicit cname as well when trying to troubleshoot.  With the wildcard there, no matter what I put in front of my domain, dig gives me the correct IP.

 

I know this is the reason I get internal errors when requesting an SSL certificate.

 

I just looked, and all settings for the container are the default you have it set to other than the ports actually being 80, 81, and 443 (unRAID’s GUI is now 60080 and 60443).  The only thing different is the network is using the custom bridge everything else uses so I can refer to other containers by their name.  I’m not doing that in NPM at the moment, I’m using actual IPs.  But I have tried names and IPs, and still same issue.

 

I just set it back to the default unRaid bridge to troubleshoot, still having the issue.  I just know this is something simple given my luck, I just cannot figure out what it might be.

Edited by Aquenon

  • Author
2 hours ago, Aquenon said:

cannot open the page because cannot connect to server

This is a cloudflare error, correct?

 

I think it's an usual error 500. This means npm is not able to reach the container. Please check the debug part of 5xx errors on the first page of this thread.

On 5/4/2022 at 12:27 AM, mgutt said:

This is a cloudflare error, correct?

 

I think it's an usual error 500. This means npm is not able to reach the container. Please check the debug part of 5xx errors on the first page of this thread.

It wasn’t a CloudFlare problem, though I double checked to be sure.  I had already done steps 1-3 of your debug section, and step 4 worked as well, but it was your curl commands that led me to my problem.  They worked just fine until I swapped the IPs with the URLs and suddenly I wasn’t getting any response.  No codes, no anything, it was timing out.  I went back to my app and it was working fine.  Then digging into the app, I found that it had its own DNS settings and wasn’t using mine.  When I forced it to mine, it started timing out as well, although every other URL worked just fine.

 

I pulled out my phone and disabled WiFi so I was coming at it externally, and every site I set up in NPM worked perfect.  Turns out my DNS server had a setting that wouldn’t allow my domain to be forwarded on to an upstream server.  I turned that setting off, and everything works.  I knew it was something simple, and thankfully your suggestion led me to it.

 

Thank you!

Edited by Aquenon

Got fresh NPM running. I can see the default welcome page and login page, but when try to login using the default username and password, i get error "Bad Gateway"

What am I doing wrong ? I am accessing it via the 192.168.1.4:81

 

obrazek.png.24b39271c37c0fb81275b6919e21badc.png

 

obrazek.thumb.png.a7ca7feb2bcdf4ddb5ba3d8ea33d8140.png

  • Author
6 hours ago, Mossshine said:

What am I doing wrong ?

Are you using an external database for npm?!

1 hour ago, mgutt said:

Are you using an external database for npm?!

No, default settings, so that would be SQLite

Edited by Mossshine

am i able to access NPM from a subdomain also? I cant seem to get it to work properly.

  • Author
22 hours ago, Mossshine said:

No, default settings, so that would be SQLite

Try to reinstall and use the appdata cleanup plugin to delete the npm subdir.

 

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.