limit_req per subnet?

Francis Daly francis at
Thu Dec 29 11:18:36 UTC 2016

On Wed, Dec 28, 2016 at 04:16:06PM -0800, Grant wrote:

Hi there,

> I'm looking for something that can
> be implemented independently of the backend, but that doesn't seem to
> exist in nginx.

You can define the "key" any way that you want.

Perhaps you can create something using "geo". Perhaps you want "the first
three bytes of $binary_remote_addr". Perhaps you want "the remote ipv4
address, rounded down to a multiple of 8". Perhaps you want something

The exact thing that you want, probably does not exist.

The tools that are needed to create it, probably do exist.

All that seems to be missing is the incentive for someone to actually
do the work to build a thing that you would like to exist.

Francis Daly        francis at

More information about the nginx mailing list