mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Stream: connection limiting module.
stream {
limit_conn_zone $binary_remote_addr zone=perip:1m;
limit_conn_log_level error;
server {
...
limit_conn perip 1;
}
}
This commit is contained in:
@@ -568,6 +568,9 @@ STREAM_SSL_MODULE="ngx_stream_ssl_module"
|
||||
STREAM_SSL_DEPS="src/stream/ngx_stream_ssl_module.h"
|
||||
STREAM_SSL_SRCS="src/stream/ngx_stream_ssl_module.c"
|
||||
|
||||
STREAM_LIMIT_CONN_MODULE=ngx_stream_limit_conn_module
|
||||
STREAM_LIMIT_CONN_SRCS=src/stream/ngx_stream_limit_conn_module.c
|
||||
|
||||
STREAM_ACCESS_MODULE=ngx_stream_access_module
|
||||
STREAM_ACCESS_SRCS=src/stream/ngx_stream_access_module.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user