From 05db6ddfa1ca120c1c348cc750acded2a01b090a Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Wed, 29 Jun 2016 12:46:12 +0300 Subject: Stream: map module. --- auto/modules | 8 ++++++++ auto/options | 3 +++ 2 files changed, 11 insertions(+) (limited to 'auto') diff --git a/auto/modules b/auto/modules index ce9949ce7..83e36e7d5 100644 --- a/auto/modules +++ b/auto/modules @@ -1020,6 +1020,14 @@ if [ $STREAM != NO ]; then . auto/module fi + if [ $STREAM_MAP = YES ]; then + ngx_module_name=ngx_stream_map_module + ngx_module_deps= + ngx_module_srcs=src/stream/ngx_stream_map_module.c + + . auto/module + fi + if [ $STREAM_UPSTREAM_HASH = YES ]; then ngx_module_name=ngx_stream_upstream_hash_module ngx_module_deps= diff --git a/auto/options b/auto/options index 8e21dbe31..b556b52ed 100644 --- a/auto/options +++ b/auto/options @@ -117,6 +117,7 @@ STREAM=NO STREAM_SSL=NO STREAM_LIMIT_CONN=YES STREAM_ACCESS=YES +STREAM_MAP=YES STREAM_UPSTREAM_HASH=YES STREAM_UPSTREAM_LEAST_CONN=YES STREAM_UPSTREAM_ZONE=YES @@ -294,6 +295,7 @@ use the \"--with-mail_ssl_module\" option instead" --without-stream_limit_conn_module) STREAM_LIMIT_CONN=NO ;; --without-stream_access_module) STREAM_ACCESS=NO ;; + --without-stream_map_module) STREAM_MAP=NO ;; --without-stream_upstream_hash_module) STREAM_UPSTREAM_HASH=NO ;; --without-stream_upstream_least_conn_module) @@ -492,6 +494,7 @@ cat << END --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_map_module disable ngx_stream_map_module --without-stream_upstream_hash_module disable ngx_stream_upstream_hash_module --without-stream_upstream_least_conn_module -- cgit