satisfy problem
Thomas Love
tomlove at gmail.com
Thu Apr 7 22:27:38 MSD 2011
On 7 April 2011 17:52, lhmwzy <lhmwzy at gmail.com> wrote:
> in 0.9.7
> use:
>
> location ^~ /ks/admin
> {
> satisfy any;
> allow 10.68.136.241/32;
> allow 10.66.23.80/32;
> deny all;
> auth_basic "passwd";
> auth_basic_user_file ksadminpasswd;
> }
>
> when IP is not 10.68.136.241 or 10.66.23.80, people can still visit
> /ks/admin,not prompt for user and passwd.
>
> Is this a bug?
>
>
Don't you want satisfy *all*?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110407/d8dfbd8d/attachment.html>
More information about the nginx
mailing list