stealth82 Posted June 24, 2016 Share Posted June 24, 2016 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? Quote Link to comment
RobJ Posted June 27, 2016 Share Posted June 27, 2016 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? Quote Link to comment
stealth82 Posted June 27, 2016 Author Share Posted June 27, 2016 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 Quote Link to comment
gfjardim Posted June 27, 2016 Share Posted June 27, 2016 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. Quote Link to comment
Recommended Posts
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.