question access control

Yanxin Z. lists at
Thu Apr 7 03:55:42 MSD 2011

I am trying to use access control to limit access from limited IP range.

I test first, with config

      server {
          listen       80;
          server_name  localhost;

          location / {

              deny all;


However, when I test in browser with, I can still see
index.html page.

Did I do something wrong?

Posted via

More information about the nginx mailing list