API ratelimiting, setting extra headers X-RateLimit-Limit X-RateLimit-Remaining X-RateLimit-Reset

2015-03-25 Thread asarnoldas
I am searching for API ratelimiting and can't find anything... Is it possible to handle all of this in nginx? ( Seting/evaluating headers, limiting connection, IP whitelisting ) ? I want to throttle access to our API and send extra headers, based on the limit say 100 req / minute for 1 IP you wou

Re: How to apply concurrent connection limit ?

2015-03-25 Thread asarnoldas
I am searching for the similar thing and can't find anything... Is it possible to handle all of this in nginx? ( Seting/evaluating headers, limiting connection, IP whitelisting ) ? https://developer.github.com/v3/rate_limit/ I want to throttle access to our API and send extra headers, based on t