Nginx version: nginx/0.8.34 bug ( nginx protect folder dont work )

my config nginx.conf

    location /database/ {
      root /var/www/vhost/mysite.com/htdocs/database;
      index index.php index.html index.htm;
      allow xxx.xxx.xxx.xxx;
      allow yyy.yyy.yyy.yyy;
      deny all;
    }

when restart nginx with config.
any ip can open http://mysite.com/database/index.php

my nginx.config is wrong or true .

or nginx bug ?

please help me.

Posted at Nginx Forum:

On Apr 4, 2010, at 11:26 AM, “conlele” [email protected] wrote:

when restart nginx with config.
any ip can open http://mysite.com/database/index.php

my nginx.config is wrong or true .
Config is wrong read
Can auth_basic restrict files in certain folder?

V/r,
Rob S.