Hot answers tagged

1

Maybe rate limiting can be the solution? limit_req_zone $binary_remote_addr zone=mylimit:10m rate=1r/s; server { location /login/ { limit_req zone=mylimit; proxy_pass http://my_upstream; } } Source: https://www.nginx.com/blog/rate-limiting-nginx/ The rate=1r/s can be tweaked, if you put 2r/s NGINX will allow 1 request ...


Only top voted, non community-wiki answers of a minimum length are eligible