summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/modules11
-rw-r--r--auto/options2
2 files changed, 13 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 38b3aba78..a473656e5 100644
--- a/auto/modules
+++ b/auto/modules
@@ -781,6 +781,17 @@ if [ $HTTP = YES ]; then
. auto/module
fi
+ if [ $HTTP_TUNNEL = YES ]; then
+ ngx_module_name=ngx_http_tunnel_module
+ ngx_module_incs=
+ ngx_module_deps=
+ ngx_module_srcs=src/http/modules/ngx_http_tunnel_module.c
+ ngx_module_libs=
+ ngx_module_link=$HTTP_TUNNEL
+
+ . auto/module
+ fi
+
if [ $HTTP_PERL != NO ]; then
ngx_module_name=ngx_http_perl_module
ngx_module_incs=src/http/modules/perl
diff --git a/auto/options b/auto/options
index 6a6e990a0..8c09433f9 100644
--- a/auto/options
+++ b/auto/options
@@ -89,6 +89,7 @@ HTTP_FASTCGI=YES
HTTP_UWSGI=YES
HTTP_SCGI=YES
HTTP_GRPC=YES
+HTTP_TUNNEL=YES
HTTP_PERL=NO
HTTP_MEMCACHED=YES
HTTP_LIMIT_CONN=YES
@@ -279,6 +280,7 @@ $0: warning: the \"--with-ipv6\" option is deprecated"
--without-http_uwsgi_module) HTTP_UWSGI=NO ;;
--without-http_scgi_module) HTTP_SCGI=NO ;;
--without-http_grpc_module) HTTP_GRPC=NO ;;
+ --without-http_tunnel_module) HTTP_TUNNEL=NO ;;
--without-http_memcached_module) HTTP_MEMCACHED=NO ;;
--without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;;
--without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;;