Nginx - Rate limit when origin server response code is 401

Krishna Sai Veera Reddy veerareddy at
Sun Apr 22 17:19:20 UTC 2018


I would like to limit access to my API endpoints when unauthorized requests
(i.e. when origin server responds with 401 status code) are made but I
wasn't able to find any information on how to go about this online. Is this
possible using nginx? Please let me know.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list