Nginx Basic auth whitelist?

noname

New member
Joined
May 13, 2026
Messages
1
Hi

I enabled Nginx basic auth through the GUI by using password-protected directories and it works fine. However, I can't find a way to whitelist specific IP addresses so they can bypass the basic auth. Is that possible?

Thanks!
 
IIRC you can add "satisfy any;" in your location block and after that "allow <the ip>;"
 
Back
Top