V
V
votod2015-05-01 19:22:33
Nginx
votod, 2015-05-01 19:22:33

How to limit connections in nginx?

Tell me how to limit the number of requests to a specific page in nginx? I need 2 connections within 10 seconds, if the limit is exceeded, then give an error 444 (closes the connection).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan, 2015-05-01
@0neS

nginx.org/en/docs/http/ngx_http_limit_conn_module....

A
Alex M., 2015-05-03
@reeder

Here
nginx.org/ru/docs/http/ngx_http_limit_req_module.html
https://lincolnloop.com/blog/rate-limiting-nginx/ can help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question