I am searching for API ratelimiting and can’t find anything…
Is it possible to handle all of this in nginx? ( Seting/evaluating
limiting connection, IP whitelisting ) ?
I want to throttle access to our API and send extra headers, based on
limit say 100 req / minute for 1 IP you would get a 429 HTTP error code
Too many requests ) and extra header X-RateLimit-Reset: would state how
time left until limit will expire.
Like github does and documents it:
Posted at Nginx Forum: