]> git.kaiwu.me - nginx.git/commit
Stream: connection limiting module.
authorVladimir Homutov <vl@nginx.com>
Thu, 18 Jun 2015 11:17:30 +0000 (14:17 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 18 Jun 2015 11:17:30 +0000 (14:17 +0300)
commit14ff3d4f87c049ff4446efe067fbfe85d5ae18ab
tree8c07a252f1cff7d6ce105bde379e03a38d146949
parentf470cd2b893379312c89f3265d3f1cca499929e8
Stream: connection limiting module.

stream {
    limit_conn_zone $binary_remote_addr zone=perip:1m;
    limit_conn_log_level error;

    server {
        ...
        limit_conn perip 1;
    }
}
auto/modules
auto/options
auto/sources
src/stream/ngx_stream.h
src/stream/ngx_stream_handler.c
src/stream/ngx_stream_limit_conn_module.c [new file with mode: 0644]