Nginx $upstream_cache_status not available when used in rate limiting
francis at daoine.org
Wed Jul 20 18:16:23 UTC 2016
On Wed, Jul 20, 2016 at 02:03:44PM -0400, linnading wrote:
> I assume $upstream_cache_status variable is set after requests are sent and
> responses are got. But is there a way to do do rate limiting ignoring cache?
> Really appreciate any help on this.
I'm afraid that, having read the mails, I'm not at all sure what kind
of limiting you want to do.
If 10 requests come in at the same time to-or-from the same something,
you want the last few requests to be delayed or rejected.
What is the "something" that you care about?
Francis Daly francis at daoine.org
More information about the nginx