From 1ff9fc201c1a3e262b35b7cb0a98ae7a77ecbd44 Mon Sep 17 00:00:00 2001 From: zengxs Date: Fri, 22 Nov 2024 17:26:43 +0800 Subject: [PATCH] Add module ngx_http_proxy_connect_module --- .gitmodules | 3 +++ Dockerfile | 3 +++ modules/ngx_http_proxy_connect_module | 1 + 3 files changed, 7 insertions(+) create mode 160000 modules/ngx_http_proxy_connect_module diff --git a/.gitmodules b/.gitmodules index 418f483..49324e8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,3 +28,6 @@ [submodule "modules/njs-acme"] path = modules/njs-acme url = https://github.com/nginx/njs-acme.git +[submodule "modules/ngx_http_proxy_connect_module"] + path = modules/ngx_http_proxy_connect_module + url = https://github.com/chobits/ngx_http_proxy_connect_module.git diff --git a/Dockerfile b/Dockerfile index 64dac29..b71645d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,8 @@ COPY ./modules/ngx_http_substitutions_filter_module \ /usr/src/ngx_http_substitutions_filter_module COPY ./modules/headers-more-nginx-module \ /usr/src/headers-more-nginx-module +COPY ./modules/ngx_http_proxy_connect_module \ + /usr/src/ngx_http_proxy_connect_module RUN set -ex \ && cd /usr/src/nginx \ @@ -60,6 +62,7 @@ RUN set -ex \ --add-dynamic-module=/usr/src/ngx-fancyindex \ --add-dynamic-module=/usr/src/ngx_http_substitutions_filter_module \ --add-dynamic-module=/usr/src/headers-more-nginx-module \ + --add-dynamic-module=/usr/src/ngx_http_proxy_connect_module \ | bash -x \ # build modules && make modules -j$(nproc) \ diff --git a/modules/ngx_http_proxy_connect_module b/modules/ngx_http_proxy_connect_module new file mode 160000 index 0000000..4f0b6c2 --- /dev/null +++ b/modules/ngx_http_proxy_connect_module @@ -0,0 +1 @@ +Subproject commit 4f0b6c2297862148c59a0d585d6c46ccb7e58a39