From 6266f5395a593f9b5d7b6de7c9f63fad60763507 Mon Sep 17 00:00:00 2001 From: zengxs Date: Fri, 22 Nov 2024 19:11:03 +0800 Subject: [PATCH] Add zstd-nginx-module --- .github/workflows/ci.yml | 2 +- .gitmodules | 6 +++--- Dockerfile | 2 +- modules/ngx_http_google_filter_module | 1 - modules/zstd-nginx-module | 1 + 5 files changed, 6 insertions(+), 6 deletions(-) delete mode 160000 modules/ngx_http_google_filter_module create mode 160000 modules/zstd-nginx-module diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e622263..bf12a95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: NGINX_VERSION: 1.27.2 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive diff --git a/.gitmodules b/.gitmodules index 0afdbc1..be2a4d3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -40,6 +40,6 @@ [submodule "third-deps/sregex"] path = third-deps/sregex url = https://github.com/openresty/sregex.git -[submodule "modules/ngx_http_google_filter_module"] - path = modules/ngx_http_google_filter_module - url = https://github.com/cuber/ngx_http_google_filter_module.git +[submodule "modules/zstd-nginx-module"] + path = modules/zstd-nginx-module + url = https://github.com/tokers/zstd-nginx-module.git diff --git a/Dockerfile b/Dockerfile index aa910dc..13b603c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,7 @@ RUN set -ex \ --add-dynamic-module=/usr/src/modules/headers-more-nginx-module \ --add-dynamic-module=/usr/src/modules/ngx_devel_kit \ --add-dynamic-module=/usr/src/modules/iconv-nginx-module \ - --add-dynamic-module=/usr/src/modules/ngx_http_google_filter_module \ + --add-dynamic-module=/usr/src/modules/zstd-nginx-module \ | bash -x \ # build modules && make modules -j$(nproc) \ diff --git a/modules/ngx_http_google_filter_module b/modules/ngx_http_google_filter_module deleted file mode 160000 index 1858171..0000000 --- a/modules/ngx_http_google_filter_module +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1858171244e9eb42be3fcf1d0ef6763df659b2bf diff --git a/modules/zstd-nginx-module b/modules/zstd-nginx-module new file mode 160000 index 0000000..f4ba115 --- /dev/null +++ b/modules/zstd-nginx-module @@ -0,0 +1 @@ +Subproject commit f4ba115e0b0eaecde545e5f37db6aa18917d8f4b