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] Djoss - Nginx Proxy Manager

Featured Replies

  • Author
7 hours ago, thunderclap said:

Accessing via IP+port does work albeit site site is broken; several images won't display.

For sure you first need to make sure the site works as expected in this scenario, since you will have the same issues behind a reverse proxy.

7 hours ago, thunderclap said:

Network tab doesn't show anything questionable, at least to my layman eyes.

You should see the multiple redirections, or at least a request returning an error.

  • Replies 2k
  • Views 516.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • You can use my fork for now: https://hub.docker.com/r/mattie112/docker-nginx-proxy-manager (which I will delete if/when this gets implemented by Djoss)   My fork is 100% the same c

  • sdchoni
    sdchoni

    To temporarily resolve this issue, you can use the previous release of Nginx Proxy Manager. Edit the app and change the repository to: jlesage/nginx-proxy-manager:v25.09.1 Once this is resolved, you

  • Please verify that the problem is fixed with the latest version.

Posted Images

Well depending on his setup it could be CORS or the fact that the site is configured for a domain and not an IP that is preventing the images to load. But yeah definitely check the network tab. Also if you can provide us with the url that might speed things up :)

Guys, i need some help, npm have been working fine for me for quite some time, suddenly today it stopped working.

below is are some entires from the log.

nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[10/26/2020] [10:51:54 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[10/26/2020] [10:51:54 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[10/26/2020] [10:51:54 PM] [SSL ] › ℹ info Let's Encrypt Renewal Timer initialized
[10/26/2020] [10:51:54 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/26/2020] [10:51:54 PM] [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized
[10/26/2020] [10:51:54 PM] [Global ] › ℹ info Backend PID 5616 listening on port 3000 ...
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258

 

on inspection on the following line 

 

Capture.PNG

  • Author
44 minutes ago, huangtf said:

Guys, i need some help, npm have been working fine for me for quite some time, suddenly today it stopped working.

below is are some entires from the log.

nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[10/26/2020] [10:51:54 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[10/26/2020] [10:51:54 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[10/26/2020] [10:51:54 PM] [SSL ] › ℹ info Let's Encrypt Renewal Timer initialized
[10/26/2020] [10:51:54 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/26/2020] [10:51:54 PM] [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized
[10/26/2020] [10:51:54 PM] [Global ] › ℹ info Backend PID 5616 listening on port 3000 ...
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258
[nginx] starting...
nginx: [emerg] invalid number of arguments in "set_real_ip_from" directive in /etc/nginx/conf.d/include/ip_ranges.conf:258

 

on inspection on the following line 

 

Capture.PNG

What the following commands are returning ?

curl https://www.cloudflare.com/ips-v4

 

curl https://www.cloudflare.com/ips-v6

 

anyway i manage to get it working by deleting line 258 to 796

  • Author
3 minutes ago, huangtf said:

anyway i manage to get it working by deleting line 258 to 796

Note that this file is refreshed periodically, so the problem may come back...

Haha, ok noted, im on my way to work, will run the command after i get back

I was able to login last week, but with the last two updates I'm now getting no relevant user found when trying to login. Can someone help me with this issue please?

 

I also tried [email protected] and changeme  and it still says no relevant user found.

Edited by HellraiserOSU

11 hours ago, Djoss said:

To be execute in unRAID terminal, not from the container itself.

If you want to run from container, do "add-pkg curl" before.

root@Tower:~# curl https://www.cloudflare.com/ips-v6
2400:cb00::/32
2606:4700::/32
2803:f800::/32
2405:b500::/32
2405:8100::/32
2a06:98c0::/29
2c0f:f248::/32
root@Tower:~# curl https://www.cloudflare.com/ips-v4
173.245.48.0/20
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
141.101.64.0/18
108.162.192.0/18
190.93.240.0/20
188.114.96.0/20
197.234.240.0/22
198.41.128.0/17
162.158.0.0/15
104.16.0.0/12
172.64.0.0/13
131.0.72.0/22
root@Tower:~# 

 

looks normal to me

1 hour ago, HellraiserOSU said:

I was able to login last week, but with the last two updates I'm now getting no relevant user found when trying to login. Can someone help me with this issue please?

 

I also tried [email protected] and changeme  and it still says no relevant user found.

Do you want to try and fix your current installation or just start over? For the last one you can remove the container, then remove /mnt/user/AppData/ngnx-proxy-manager and then reacreate it for a clean start.

On 10/26/2020 at 6:21 AM, Djoss said:

For sure you first need to make sure the site works as expected in this scenario, since you will have the same issues behind a reverse proxy.

You should see the multiple redirections, or at least a request returning an error.

If you'd like to see what I'm seeing the URL is here. I do see quite a few 301 in the Network list under Developer Tools, not sure how to read it though. Right now I have it pointing from NginxProxyManager to my Ubuntu VM which has VestaCP installed.

2 hours ago, mattie112 said:

Do you want to try and fix your current installation or just start over? For the last one you can remove the container, then remove /mnt/user/AppData/ngnx-proxy-manager and then reacreate it for a clean start.

I'd like to fix it if I can.. I have like 10 reverse proxies while not too many, just be annoying to redo :)

15 minutes ago, HellraiserOSU said:

I'd like to fix it if I can.. I have like 10 reverse proxies while not too many, just be annoying to redo :)

You can try something like this:

 

 

docker exec -it NginxProxyManager sh
# you are now in the container
mysql
# you are now connected to the internal mysql shell
select * from user;
select * from user_permission;
select * from auth;

You can check IF there is an user (that is not disabled/deleted) and if you are using the correct username. If not you can update the password or insert a new user.

 

I am guessing the standard mysql/mariadb encryption is used to in order to change the password:

update user set secred=PASSWORD('yourpasshere') where id = <id_from_your_user>;

But perhaps @Djoss can confirm if this is the correct hasing/method.

 

(you could also create a new instance of NPM and check the tables for the default user and then copy that over to your existing instance)

  • Author
7 hours ago, HellraiserOSU said:

I was able to login last week, but with the last two updates I'm now getting no relevant user found when trying to login. Can someone help me with this issue please?

 

I also tried [email protected] and changeme  and it still says no relevant user found.

Are you using the correct user ?  You can list users with the following command:

docker exec NginxProxyManager sqlite3 -cmd 'SELECT * from user;' /config/database.sqlite

 

  • Author
6 hours ago, huangtf said:

root@Tower:~# curl https://www.cloudflare.com/ips-v6
2400:cb00::/32
2606:4700::/32
2803:f800::/32
2405:b500::/32
2405:8100::/32
2a06:98c0::/29
2c0f:f248::/32
root@Tower:~# curl https://www.cloudflare.com/ips-v4
173.245.48.0/20
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
141.101.64.0/18
108.162.192.0/18
190.93.240.0/20
188.114.96.0/20
197.234.240.0/22
198.41.128.0/17
162.158.0.0/15
104.16.0.0/12
172.64.0.0/13
131.0.72.0/22
root@Tower:~# 

 

looks normal to me

Yes, this is the expected output.  Not sure what happened.  Let me know if the problem comes back.

  • Author
2 hours ago, mattie112 said:

You can try something like this:

 

 


docker exec -it NginxProxyManager sh
# you are now in the container
mysql
# you are now connected to the internal mysql shell
select * from user;
select * from user_permission;
select * from auth;

You can check IF there is an user (that is not disabled/deleted) and if you are using the correct username. If not you can update the password or insert a new user.

 

I am guessing the standard mysql/mariadb encryption is used to in order to change the password:


update user set secred=PASSWORD('yourpasshere') where id = <id_from_your_user>;

But perhaps @Djoss can confirm if this is the correct hasing/method.

 

(you could also create a new instance of NPM and check the tables for the default user and then copy that over to your existing instance)

The latest image now uses sqlite instead of mariadb.  See my previous command for the SQL command to run.

 

If password needs to ne be reset:

docker run NginxProxyManager /opt/nginx-proxy-manager/bin/reset-password <user> <password>

 

  • Author
3 hours ago, thunderclap said:

If you'd like to see what I'm seeing the URL is here. I do see quite a few 301 in the Network list under Developer Tools, not sure how to read it though. Right now I have it pointing from NginxProxyManager to my Ubuntu VM which has VestaCP installed.

Using curl, we see that a redirect to the same URL is returned:

curl -v https://marcbuhmann.com/
*   Trying 76.243.195.200:443...
* TCP_NODELAY set
* Connected to marcbuhmann.com (76.243.195.200) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /usr/share/curl/ca-bundle.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=marcbuhmann.com
*  start date: Oct 23 20:33:34 2020 GMT
*  expire date: Jan 21 20:33:34 2021 GMT
*  subjectAltName: host "marcbuhmann.com" matched cert's "marcbuhmann.com"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x47c570)
> GET / HTTP/2
> Host: marcbuhmann.com
> user-agent: curl/7.67.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 301
< server: openresty
< date: Tue, 27 Oct 2020 17:51:07 GMT
< content-type: text/html; charset=UTF-8
< content-length: 0
< location: https://marcbuhmann.com/
< x-ua-compatible: IE=edge
< x-redirect-by: WordPress
< x-served-by: marcbuhmann.com
<

Can you share the config of your proxy host ?

42 minutes ago, Djoss said:

Using curl, we see that a redirect to the same URL is returned:


curl -v https://marcbuhmann.com/
*   Trying 76.243.195.200:443...
* TCP_NODELAY set
* Connected to marcbuhmann.com (76.243.195.200) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /usr/share/curl/ca-bundle.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=marcbuhmann.com
*  start date: Oct 23 20:33:34 2020 GMT
*  expire date: Jan 21 20:33:34 2021 GMT
*  subjectAltName: host "marcbuhmann.com" matched cert's "marcbuhmann.com"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x47c570)
> GET / HTTP/2
> Host: marcbuhmann.com
> user-agent: curl/7.67.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 301
< server: openresty
< date: Tue, 27 Oct 2020 17:51:07 GMT
< content-type: text/html; charset=UTF-8
< content-length: 0
< location: https://marcbuhmann.com/
< x-ua-compatible: IE=edge
< x-redirect-by: WordPress
< x-served-by: marcbuhmann.com
<

Can you share the config of your proxy host ?

I've attached what I think you're looking for.

 

Edited by thunderclap
Removed config

5 minutes ago, Djoss said:

Sorry, I meant the Nginx Proxy Manager configuration.

For the domain I'm having trouble with or the docker itself?

  • Author
5 minutes ago, thunderclap said:

For the domain I'm having trouble with or the docker itself?

Yes for the domain you have trouble with (so the configuration you did using the NPM UI).

2 hours ago, thunderclap said:

For the domain I'm having trouble with or the docker itself?

Here are the three tabs I've filled stuff out in, nothing in Advanced

01.png

02.png

03.png

4 hours ago, Djoss said:

Are you using the correct user ?  You can list users with the following command:


docker exec NginxProxyManager sqlite3 -cmd 'SELECT * from user;' /config/database.sqlite

 

I ran that command it it's the same user. I use a pasword manager to login and it's definitely the same.

 

here's what it shows

image.thumb.png.87742887da311530d9ee379a6556096e.png

Edited by HellraiserOSU

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.