D
D
Diman Suvorkin2020-04-14 23:14:21
Nginx
Diman Suvorkin, 2020-04-14 23:14:21

Is it possible to limit the total number of requests in Nginx?

In nginx, it is possible to set a limit on the number of requests from one ip:

limit_req_zone $binary_remote_addr zone=zzz:10m;
...
limit_req zone=zzz burst=1000 nodelay;


Is there a similar limit in nginx, but for the total number of requests, and not for one ip? And can it be considered as part of the DDOS protection system?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question