Limit connection to specific location
Bob S.
farseas at gmail.com
Tue Aug 13 17:59:38 UTC 2013
Maybe you should tell us what yo are trying to do in more detail. If all
you are trying to do is rate limit, there are easier ways to do it.
On Tue, Aug 13, 2013 at 1:39 PM, B.R. <reallfqq-nginx at yahoo.fr> wrote:
> Hello,
>
> On Tue, Aug 13, 2013 at 9:12 AM, Jaap van Arragon <
> j.vanarragon at lukkien.com> wrote:
>
>> Hello,
>>
>> I'am looking for a way to limit the number of connection in one hour to a
>> location named /api/
>>
>> I've looked at the ngx_http_limit_conn_module module but I don't
>> understand how to limit the amount of connection from a specific
>> ip address per hour.
>>
>> For example: ip address 33.33.33.33 can only make 20 connections in one
>> hour to the url /api/
>>
>> Limiting connections rate sounds typically like a job that must be done
> by some firewall to me...
> Have you tried to look after iptables and its 'recent' module?
>
> We use nginx as a loadbalancer/proxy.
>>
>> Does somebody has a example for this?
>>
>> Thanks.
>>
>> Regards.
>> Jaap
>>
>> ---
> *B. R.*
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130813/36aff2c6/attachment.html>
More information about the nginx
mailing list