NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.45k stars 2.72k forks source link

ACL on Proxy Host for Nginx Proxy Manager Administration Does Not Auth #827

Closed jiriteach closed 3 years ago

jiriteach commented 3 years ago

Checklist

Describe the bug I have a proxy host setup to NPM administration. e.g. abc.domain.com --> proxy host to NPM:81. This is working fine. I would like to add an ACL with HTTP basic auth in-front of the NPM login screen. Doing so causes auth to prompt but credentials do not work on Chrome or Firefox. Seems to work on Safari.

To Reproduce

  1. Create a proxy host rule to NPM administration.
  2. Add an access list to the proxy host rule.
  3. Test on Google Chrome or Firefox.

Expected behavior Auth to success and show the NPM administration login screen.

Operating System NPM is running on a RPI4 via Docker. Browsers have been tested on both MacOS and Windows.

NovaViper commented 3 years ago

I can confirm this issue aswell, same rasspberry pi setup. For me at least, it just keeps in locked in the authentication prompts and never lets me get to the manager, similar to #843

I have my reproxy host access list setup where it authenticates with my username and password, and it checks to see if Im logging in from my network's public address. Even odder is that I have to have Satisfy any enabled or else I get sent to a 403 error.

Wilbert-Garcia commented 3 years ago

I have a simliar issue however on mobile i get through the auth pop up the first time (chrome/safari), I also can get through the first time around when using safari on mac. When using the desktop version of chrome/brave/firefox it just loops. I noticed that if i login once in the auth pop up and leave it there for lets say 5-10 mins it eventually goes through.

vercas commented 3 years ago

I am having a similar issue. I can get past the HTTP auth prompt, but then it won't accept my username and password.
It simply says Unauthorized. under the password field.

dokbua commented 3 years ago

Just ran into this problem too. I had to enable the port 81 again to be able to login directly and remove the acl and be able to use it again.

parasdaryanani commented 3 years ago

Same issue on Ubuntu 20.04, specifically when IP + user is enabled in ACL. Works fine for redirection hosts but not for proxy hosts.

chaptergy commented 3 years ago

Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/334