Open mikeymasonic opened 1 month ago
it seems that rolling back to "2.11.3" fixes it, but updating it to "2.12.0" and "2.12.1" breaks it
It looks like the commit 4572b205c912db498706e9a3e8f1891c94129c88 changed some model types from integer to boolean (one of them is the satisfy_any field). But the evaluation still checks for "satisfy_any == 1".
I don't know if this is the only case the evaluation does not match the model type anymore though.
Should be fixed by dad8d0c from @chrismaffey
satisfy any is always overwritten to satisfy all in the .conf file after restarting the Nginx container. So the toggle in the GUI and also what I write in the .conf file is not used, but overwritten again...
/backend/templates/_access.conf (line 20) change from {% if access_list.satisfy_any == 1 %} to {% if access_list.satisfy_any == 1 or access_list.satisfy_any == true %}
docker v2.12.1
You can temporarily use nginxproxymanager/nginx-proxy-manager-dev:pr-4107
as it was fixed 2W ago in https://github.com/NginxProxyManager/nginx-proxy-manager/pull/4107.
Should be fixed in next release I guess.
Checklist
jc21/nginx-proxy-manager:latest
docker image?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:
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:
Satisfy Any
is checkedsatisfy all;
tosatisfy any;
, everything works as expectedExpected behavior
Screenshots
Operating System
Using a docker instance on Ubuntu
Additional context