limit_rate for POST targets ?

B.R. reallfqq-nginx at
Mon Apr 13 17:03:48 UTC 2015

I do not get (aha) where you saw limit_rate only applies to the GET
But yeah limit_rate applies to resposnes.

Rate limiting only properly applies to sender, in your case the client,
which is the sole entity ablte to properly craft its requests to contain a
specified amount of data/time period.
​The only thi​ng you can limit on intermediaries/receiver is
connections/packets, because it is network-related structures which are
trivial to handle/buffer.

Rate-limiting on a transmitting/receiving end requires buffering content
(not envelope, so that means application logic/DPI), and re-crafting
forwarded/processed content into suitable network envelopes.
Way too expensive/dangerous/demanding.

You can limit incoming transmissions in nginx based on connections
(limit_conn) or requests (limit_req).
You can limit incoming transmissions at TCP level in firewalls surch as
iptables based on connections and/or packets.

​My 2 cents,​
*B. R.*

On Sat, Apr 11, 2015 at 2:25 PM, Justin <justinbeech at> wrote:

> hmm that is rate limiting req/s
> i am looking for an exact limit_rate equivalent  - which is bytes/second.
> > On 11 Apr 2015, at 10:13 pm, itpp2012 <nginx-forum at> wrote:
> >
> > Lua would be a way to go,
> > ea.
> >
> > Posted at Nginx Forum:
> >
> > _______________________________________________
> > nginx mailing list
> > nginx at
> >
> _______________________________________________
> nginx mailing list
> nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list