Is there a way to configure nginx not to block request from a specific IP address?
Igor Sysoev
is at rambler-co.ru
Thu Sep 17 14:28:35 MSD 2009
On Thu, Sep 17, 2009 at 03:56:20AM -0400, machineatube wrote:
> 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;
> }
>
> }
> }
Here is nothing that may prevent processing more than 4 requests.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list