Welcome! Log In Create A New Profile

Advanced

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

September 17, 2009 03:51AM
Hi

I'd like do some static file tests on nginx, because I'd like to use nginx as my static file server

so I wrote a loop(500000 loops) to send request and retrive response from nginx through a 100M speed network (LAN),

I used apache httpclient to connect to nginx, after only 4 loops, the httpclient throws exception:

org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection

and the client could never connect to nginx again.

it looks like nginx blocked the request from my httpclient, I think maybe it is because I send too many requests to nginx at the same time, so could you please tell me is there a way to configure nginx not to block request from a specific IP address? I just had too many files to test, I don want to set some interval time between my requests, that will cost me weeks to finish the test. Thanks a lot!
Subject Author Posted

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

machineatube September 17, 2009 03:51AM

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

machineatube September 17, 2009 03:56AM

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

Igor Sysoev September 17, 2009 06:32AM

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

machineatube September 17, 2009 09:56AM

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

machineatube September 18, 2009 03:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 138
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready