diff options
author | Pavel Pautov <p.pautov@f5.com> | 2020-08-28 14:10:54 -0700 |
---|---|---|
committer | Pavel Pautov <p.pautov@f5.com> | 2020-08-28 14:10:54 -0700 |
commit | c85d6fec217d1b17291779542de20ad77ae68661 (patch) | |
tree | 685ede9d175205b03544c8f83311052619b6e009 /auto | |
parent | 3bbeb1b8de857409c3dc9da45eb963d13b126537 (diff) | |
download | nginx-c85d6fec217d1b17291779542de20ad77ae68661.tar.gz |
Stream: set module.
Adds 'set' directive to the stream server context.
Diffstat (limited to 'auto')
-rw-r--r-- | auto/modules | 10 | ||||
-rw-r--r-- | auto/options | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules index d78e2823a..f1c63f3d5 100644 --- a/auto/modules +++ b/auto/modules @@ -1119,6 +1119,16 @@ if [ $STREAM != NO ]; then . auto/module fi + if [ $STREAM_SET = YES ]; then + ngx_module_name=ngx_stream_set_module + ngx_module_deps= + ngx_module_srcs=src/stream/ngx_stream_set_module.c + ngx_module_libs= + ngx_module_link=$STREAM_SET + + . 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 521c9768d..0b21def27 100644 --- a/auto/options +++ b/auto/options @@ -124,6 +124,7 @@ STREAM_GEOIP=NO STREAM_MAP=YES STREAM_SPLIT_CLIENTS=YES STREAM_RETURN=YES +STREAM_SET=YES STREAM_UPSTREAM_HASH=YES STREAM_UPSTREAM_LEAST_CONN=YES STREAM_UPSTREAM_RANDOM=YES @@ -324,6 +325,7 @@ use the \"--with-mail_ssl_module\" option instead" --without-stream_split_clients_module) STREAM_SPLIT_CLIENTS=NO ;; --without-stream_return_module) STREAM_RETURN=NO ;; + --without-stream_set_module) STREAM_SET=NO ;; --without-stream_upstream_hash_module) STREAM_UPSTREAM_HASH=NO ;; --without-stream_upstream_least_conn_module) @@ -538,6 +540,7 @@ cat << END --without-stream_split_clients_module disable ngx_stream_split_clients_module --without-stream_return_module disable ngx_stream_return_module + --without-stream_set_module disable ngx_stream_set_module --without-stream_upstream_hash_module disable ngx_stream_upstream_hash_module --without-stream_upstream_least_conn_module |