Stream: access module.

stream {
    server {
        ...
        allow 127.0.0.1;
        deny all;
    }
}
This commit is contained in:
Vladimir Homutov
2015-06-04 13:04:12 +03:00
parent d56b84b783
commit 8ab1aa612d
6 changed files with 491 additions and 12 deletions

View File

@@ -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"