-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?- Yes
- Are you sure you're not using someone else's docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
Describe the bug
Whenever I set "Satisfy Any" in an access list details section, it doesn't work. For instance if I have an HTTP Auth setup and an IP route, if I access that particular proxy on a whitelisted IP, I get prompted for HTTP authentication. If I go to the proxy with a non whitelisted IP, I get 403 Forbidden and no HTTP Auth prompt. The check box does save the previous saved state however.
I've taken a look at the config files and I notice this near the end:
# Access checks must...
satisfy all;
If I manually change this to satisfy any;, everything works as expected.
Another unrelated issue, I notice in the GUI I'm on version v2.12.1, but in my docker instance I see: NPM_BUILD_VERSION | 2.11.3
If I login to my docker container I see: Version 2.11.3 (35d7a3a) 2024-07-01 11:42:06 UTC
I've pulled the latest image several times.
Nginx Proxy Manager Version
v2.12.1
To Reproduce
Steps to reproduce the behavior:
- Access Lists
- Edit an existing list
- Add a valid whitelist ip
- Add an HTTP login/password
- Ensure
Satisfy Anyis checked - Save
- Try to access proxy with your whitelisted IP, you'll still see an HTTP login
- Try to access proxy with non whitelisted IP, you'll get 403 - Forbidden
- If you manually change your proxy config file from
satisfy all;tosatisfy any;, everything works as expected
Expected behavior
- No HTTP Auth prompt if using a whitelisted IP and access
- HTTP Auth prompt if using a non whitelisted IP instead of a 403
Screenshots
Operating System
Using a docker instance on Ubuntu
Additional context