Limit downlaod speed per ip

Piotr Karbowski jabberuser at
Thu Jan 24 17:59:02 UTC 2013

On 01/24/2013 06:52 PM, shahzaib shahzaib wrote:
> Hello,
>         Is there a way to limit speed per ip ? Doesn't matter how many
> connections the single ip is consuming but he shouldn't be able to get more
> than assigned download limit.
> limit_rate directive is for per connection but not for per ip.
> Looking forward to your help. Thanks

You need to do it on system level, like tc on linux or ipfw on freebsd 
and so on.

-- Piotr.

More information about the nginx mailing list