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.

reverse proxied unraid gui doesn't ask for password

Featured Replies

Hello, I'm not sure where to begin, whether this is the right subforum or not but I'll try to be as clear as possible.

 

I have compiled nginx package for slackware since I wanted a reverse proxy that worked even when the array is stopped. Build, installation and configuration had been fine. nginx is working 100%.

There's only one problem... the GUI doesn't ask for password!! It just goes straight in.

 

This is how my site is configured:

 

server {
listen 8000;
listen 4430 ssl;

server_name fqdn.mydomain.whatever tower.mylocaldomain.whatever;

ssl_certificate /boot/config/nginx/certs/my.pem;
ssl_certificate_key /boot/config/nginx/certs/my.key;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

location / {
	proxy_pass			http://localhost;
}
}

 

I can change the proxy_pass directive to this:

 

location / {
	proxy_pass			http://tower;
}

 

Still no password asked.

 

But, if I change the proxy_pass directive to this:

 

location / {
	proxy_pass			http://tower.mylocaldomain.whatever;
}

 

Then it asks for password. What am I missing? Is it a security bug on unRAID side?

Partly a bump, but thought I'd ask for a little more detail.  Is this compiled as a package or part of a Docker?  How and where is it installed?

  • Author

I compiled it as a Slackware package, it's not a docker. It stays under /boot/extra , the folder that unRAID looks up for installing additional packages at startup. Then I made some modifications to make the configuration work from boot/config/nginx so that modifications don't need to be copied over to etc/nginx , although I copy nginx.conf at startup

I compiled it as a Slackware package, it's not a docker. It stays under /boot/extra , the folder that unRAID looks up for installing additional packages at startup. Then I made some modifications to make the configuration work from boot/config/nginx so that modifications don't need to be copied over to etc/nginx , although I copy nginx.conf at startup

 

Yep, that's it. unRAID don't ask credentials when accessed within the localhost.

Archived

This topic is now archived and is closed to further replies.

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.