Mercurial > hg > nginx-quic
comparison auto/options @ 6197:0dcef374b8bb
Stream: connection limiting module.
stream {
limit_conn_zone $binary_remote_addr zone=perip:1m;
limit_conn_log_level error;
server {
...
limit_conn perip 1;
}
}
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Thu, 18 Jun 2015 14:17:30 +0300 |
parents | c983c8dea44c |
children | 257b51c37c5a |
comparison
equal
deleted
inserted
replaced
6196:c3ec43580a48 | 6197:0dcef374b8bb |
---|---|
111 MAIL_IMAP=YES | 111 MAIL_IMAP=YES |
112 MAIL_SMTP=YES | 112 MAIL_SMTP=YES |
113 | 113 |
114 STREAM=NO | 114 STREAM=NO |
115 STREAM_SSL=NO | 115 STREAM_SSL=NO |
116 STREAM_LIMIT_CONN=YES | |
116 STREAM_ACCESS=YES | 117 STREAM_ACCESS=YES |
117 STREAM_UPSTREAM_HASH=YES | 118 STREAM_UPSTREAM_HASH=YES |
118 STREAM_UPSTREAM_LEAST_CONN=YES | 119 STREAM_UPSTREAM_LEAST_CONN=YES |
119 STREAM_UPSTREAM_ZONE=YES | 120 STREAM_UPSTREAM_ZONE=YES |
120 | 121 |
281 --without-mail_imap_module) MAIL_IMAP=NO ;; | 282 --without-mail_imap_module) MAIL_IMAP=NO ;; |
282 --without-mail_smtp_module) MAIL_SMTP=NO ;; | 283 --without-mail_smtp_module) MAIL_SMTP=NO ;; |
283 | 284 |
284 --with-stream) STREAM=YES ;; | 285 --with-stream) STREAM=YES ;; |
285 --with-stream_ssl_module) STREAM_SSL=YES ;; | 286 --with-stream_ssl_module) STREAM_SSL=YES ;; |
287 --without-stream_limit_conn_module) | |
288 STREAM_LIMIT_CONN=NO ;; | |
286 --without-stream_access_module) STREAM_ACCESS=NO ;; | 289 --without-stream_access_module) STREAM_ACCESS=NO ;; |
287 --without-stream_upstream_hash_module) | 290 --without-stream_upstream_hash_module) |
288 STREAM_UPSTREAM_HASH=NO ;; | 291 STREAM_UPSTREAM_HASH=NO ;; |
289 --without-stream_upstream_least_conn_module) | 292 --without-stream_upstream_least_conn_module) |
290 STREAM_UPSTREAM_LEAST_CONN=NO ;; | 293 STREAM_UPSTREAM_LEAST_CONN=NO ;; |
450 --without-mail_imap_module disable ngx_mail_imap_module | 453 --without-mail_imap_module disable ngx_mail_imap_module |
451 --without-mail_smtp_module disable ngx_mail_smtp_module | 454 --without-mail_smtp_module disable ngx_mail_smtp_module |
452 | 455 |
453 --with-stream enable TCP proxy module | 456 --with-stream enable TCP proxy module |
454 --with-stream_ssl_module enable ngx_stream_ssl_module | 457 --with-stream_ssl_module enable ngx_stream_ssl_module |
458 --without-stream_limit_conn_module disable ngx_stream_limit_conn_module | |
455 --without-stream_access_module disable ngx_stream_access_module | 459 --without-stream_access_module disable ngx_stream_access_module |
456 --without-stream_upstream_hash_module | 460 --without-stream_upstream_hash_module |
457 disable ngx_stream_upstream_hash_module | 461 disable ngx_stream_upstream_hash_module |
458 --without-stream_upstream_least_conn_module | 462 --without-stream_upstream_least_conn_module |
459 disable ngx_stream_upstream_least_conn_module | 463 disable ngx_stream_upstream_least_conn_module |