Nginx Map how to check value if empty

Francis Daly francis at
Wed Mar 8 20:17:13 UTC 2017

On Wed, Mar 08, 2017 at 01:56:04AM -0500, c0nw0nk wrote:

Hi there,

> The usage of the final output is as easy as this. "$client_ip_output;"
> limit_req_zone $client_ip_output zone=one:10m rate=1r/s; #usage example for
> the resulting output after all fallback checks and ip whitelist checks etc.
> Based of what I showed here can anyone point out any problems they see with
> it etc from what I want to achieve I think it should work fine.

How many requests should I make with a really long (but different every
time) X-Forwarded-For header before your zone fills?


Francis Daly        francis at

More information about the nginx mailing list