question access control

Yanxin Z. lists at ruby-forum.com
Thu Apr 7 03:55:42 MSD 2011


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

I test 127.0.0.1 first, with config

      server {
          listen       80;
          server_name  localhost;

          location / {

              deny all;

           }
       }

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

Did I do something wrong?

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list