diff options
| author | Vladimir Homutov <vl@nginx.com> | 2015-06-04 13:04:12 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2015-06-04 13:04:12 +0300 |
| commit | 8ab1aa612d06ac4476b1cfacc778ba0b71ee99aa (patch) | |
| tree | 65d0e268b9e6c5979bcb473d4a846120efd3970d /auto | |
| parent | d56b84b7834c250ac2f7506517fe076b919841c0 (diff) | |
| download | nginx-8ab1aa612d06ac4476b1cfacc778ba0b71ee99aa.tar.gz nginx-8ab1aa612d06ac4476b1cfacc778ba0b71ee99aa.tar.bz2 | |
Stream: access module.
stream {
server {
...
allow 127.0.0.1;
deny all;
}
}
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/modules | 5 | ||||
| -rw-r--r-- | auto/options | 3 | ||||
| -rw-r--r-- | auto/sources | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules index de3dc4a64..82b8bca33 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_ACCESS = YES ]; then + modules="$modules $STREAM_ACCESS_MODULE" + STREAM_SRCS="$STREAM_SRCS $STREAM_ACCESS_SRCS" + fi + if [ $STREAM_UPSTREAM_HASH = YES ]; then modules="$modules $STREAM_UPSTREAM_HASH_MODULE" STREAM_SRCS="$STREAM_SRCS $STREAM_UPSTREAM_HASH_SRCS" diff --git a/auto/options b/auto/options index e3a7edead..6bab052cd 100644 --- a/auto/options +++ b/auto/options @@ -113,6 +113,7 @@ MAIL_SMTP=YES STREAM=NO STREAM_SSL=NO +STREAM_ACCESS=YES STREAM_UPSTREAM_HASH=YES STREAM_UPSTREAM_LEAST_CONN=YES STREAM_UPSTREAM_ZONE=YES @@ -282,6 +283,7 @@ use the \"--with-mail_ssl_module\" option instead" --with-stream) STREAM=YES ;; --with-stream_ssl_module) STREAM_SSL=YES ;; + --without-stream_access_module) STREAM_ACCESS=NO ;; --without-stream_upstream_hash_module) STREAM_UPSTREAM_HASH=NO ;; --without-stream_upstream_least_conn_module) @@ -450,6 +452,7 @@ cat << END --with-stream enable TCP proxy module --with-stream_ssl_module enable ngx_stream_ssl_module + --without-stream_access_module disable ngx_stream_access_module --without-stream_upstream_hash_module disable ngx_stream_upstream_hash_module --without-stream_upstream_least_conn_module diff --git a/auto/sources b/auto/sources index 156db56fa..b5bb92ca5 100644 --- a/auto/sources +++ b/auto/sources @@ -567,6 +567,9 @@ STREAM_SSL_MODULE="ngx_stream_ssl_module" STREAM_SSL_DEPS="src/stream/ngx_stream_ssl_module.h" STREAM_SSL_SRCS="src/stream/ngx_stream_ssl_module.c" +STREAM_ACCESS_MODULE=ngx_stream_access_module +STREAM_ACCESS_SRCS=src/stream/ngx_stream_access_module.c + STREAM_UPSTREAM_HASH_MODULE=ngx_stream_upstream_hash_module STREAM_UPSTREAM_HASH_SRCS=src/stream/ngx_stream_upstream_hash_module.c |
