Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2015-06-18 14:17:30 +0300
committerVladimir Homutov <vl@nginx.com>2015-06-18 14:17:30 +0300
commit14ff3d4f87c049ff4446efe067fbfe85d5ae18ab (patch)
tree8c07a252f1cff7d6ce105bde379e03a38d146949 /auto/modules
parentf470cd2b893379312c89f3265d3f1cca499929e8 (diff)
Stream: connection limiting module.
stream { limit_conn_zone $binary_remote_addr zone=perip:1m; limit_conn_log_level error; server { ... limit_conn perip 1; } }
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules5
1 files changed, 5 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 82b8bca33..60a060d35 100644
--- a/auto/modules
+++ b/auto/modules
@@ -514,6 +514,11 @@ if [ $STREAM = YES ]; then
STREAM_SRCS="$STREAM_SRCS $STREAM_SSL_SRCS"
fi
+ if [ $STREAM_LIMIT_CONN = YES ]; then
+ modules="$modules $STREAM_LIMIT_CONN_MODULE"
+ STREAM_SRCS="$STREAM_SRCS $STREAM_LIMIT_CONN_SRCS"
+ fi
+
if [ $STREAM_ACCESS = YES ]; then
modules="$modules $STREAM_ACCESS_MODULE"
STREAM_SRCS="$STREAM_SRCS $STREAM_ACCESS_SRCS"