This commit is contained in:
dami
2026-04-02 10:39:45 +08:00
parent dfc3e79709
commit 0fc0e12c08
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -127,9 +127,13 @@ Install_openresty()
cd ${openrestyDir}/openresty-${VERSION} && git clone https://github.com/wxx9248/ngx_brotli.git
cd ${openrestyDir}/openresty-${VERSION}/ngx_brotli && git submodule update --init
OPTIONS="${OPTIONS} --add-module=./ngx_brotli"
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/openresty-${VERSION}/ngx_brotli"
fi
OPTIONS="${OPTIONS} --with-threads"
OPTIONS="${OPTIONS} --with-file-aio"
OPTIONS="${OPTIONS} --with-pcre-jit"
# --with-openssl=$serverPath/source/lib/openssl-1.0.2q
cd ${openrestyDir}/openresty-${VERSION} && ./configure \
--prefix=$serverPath/openresty \
+5 -1
View File
@@ -143,9 +143,13 @@ Install_openresty()
cd ${openrestyDir}/openresty-${VERSION} && git clone https://github.com/wxx9248/ngx_brotli.git
cd ${openrestyDir}/openresty-${VERSION}/ngx_brotli && git submodule update --init
OPTIONS="${OPTIONS} --add-module=./ngx_brotli"
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/openresty-${VERSION}/ngx_brotli"
fi
OPTIONS="${OPTIONS} --with-threads"
OPTIONS="${OPTIONS} --with-file-aio"
OPTIONS="${OPTIONS} --with-pcre-jit"
cd ${openrestyDir}/openresty-${VERSION} && ./configure \
--prefix=$serverPath/openresty \
$OPTIONS \