Rate limiting Parse Server using NGINX

Hi all,

I was wondering if anyone had any recommendations / examples for rate limiting Parse Server with nginx.

I was hoping to setup a special limit on login/masterKey endpoints, and then regular slowdowns on other endpoints.

I have been previously using express-rate-limit but I understand rate limiting at the application level is not ideal.

Thanks!

Yes. Nginx works well for rate limit. Take a look at limit_req_zone and limit_req.

I guess I should read the docs :joy: I was wondering if anyone had a drop in configuration example that limits could functions and save routes without degrading UX