Is there a way to configure nginx not to block request from a specific IP address?

machineatube nginx-forum at nginx.us
Thu Sep 17 11:56:20 MSD 2009


here is my conf file , the nginx version is 0.7.36
I just used the default config.


worker_processes  1;

events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

 

    sendfile        on;
   
    keepalive_timeout  0;


    server {
        listen       80;
        server_name  localhost;

  

        location / {
	 
            root   html;
            index  index.html index.htm;
        }

       
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
           root   /web;
           #root    html;
        }
	
       }
    }

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,7318,7319#msg-7319






More information about the nginx mailing list