Forum: NGINX how to bypass http auth for certain IPs?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Patrick A. (Guest)
on 2009-02-07 05:48
(Received via mailing list)
Hey all,

I want to impose an auth_basic for people connecting from outsite but
for people connecting from localhost they should be able to bypass the
auth, the authentication should not be required to them, any idea how
to do that admins?

Here is my actual config and how I used to do it on apache:

Thanks in advance,

Patrick A. (Guest)
on 2009-02-07 09:34
(Received via mailing list)
I found out:

satisfy any;
deny all;
auth_basic      "Registered";
auth_basic_user_file    /etc/nginx/htpasswd;
This topic is locked and can not be replied to.