June 24, 201610 yr 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?
June 27, 201610 yr 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?
June 27, 201610 yr 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
June 27, 201610 yr 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.