diff options
| author | Vladimir Homutov <vl@nginx.com> | 2015-06-18 14:17:30 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2015-06-18 14:17:30 +0300 |
| commit | 14ff3d4f87c049ff4446efe067fbfe85d5ae18ab (patch) | |
| tree | 8c07a252f1cff7d6ce105bde379e03a38d146949 /auto/options | |
| parent | f470cd2b893379312c89f3265d3f1cca499929e8 (diff) | |
| download | nginx-14ff3d4f87c049ff4446efe067fbfe85d5ae18ab.tar.gz nginx-14ff3d4f87c049ff4446efe067fbfe85d5ae18ab.tar.bz2 | |
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/options')
| -rw-r--r-- | auto/options | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/options b/auto/options index febbc2783..e70d1a0b2 100644 --- a/auto/options +++ b/auto/options @@ -113,6 +113,7 @@ MAIL_SMTP=YES STREAM=NO STREAM_SSL=NO +STREAM_LIMIT_CONN=YES STREAM_ACCESS=YES STREAM_UPSTREAM_HASH=YES STREAM_UPSTREAM_LEAST_CONN=YES @@ -283,6 +284,8 @@ use the \"--with-mail_ssl_module\" option instead" --with-stream) STREAM=YES ;; --with-stream_ssl_module) STREAM_SSL=YES ;; + --without-stream_limit_conn_module) + STREAM_LIMIT_CONN=NO ;; --without-stream_access_module) STREAM_ACCESS=NO ;; --without-stream_upstream_hash_module) STREAM_UPSTREAM_HASH=NO ;; @@ -452,6 +455,7 @@ cat << END --with-stream enable TCP proxy module --with-stream_ssl_module enable ngx_stream_ssl_module + --without-stream_limit_conn_module disable ngx_stream_limit_conn_module --without-stream_access_module disable ngx_stream_access_module --without-stream_upstream_hash_module disable ngx_stream_upstream_hash_module |
