pull/865/head
dami 9 hours ago
parent 86d3dd2c88
commit e1fe3d959a
  1. 8
      plugins/openresty/versions/1.17.8/install.sh
  2. 6
      plugins/openresty/versions/1.19.3/install.sh
  3. 6
      plugins/openresty/versions/1.21.4/install.sh
  4. 6
      plugins/openresty/versions/1.25.3/install.sh
  5. 8
      plugins/openresty/versions/1.27.1/install.sh
  6. 6
      plugins/openresty/versions/1.29.2/install.sh

@ -140,9 +140,13 @@ Install_openresty()
if [ ! -d ${openrestyDir}/zstd-nginx-module ];then
cd ${openrestyDir} && wget -O $openrestyDir/zstd-nginx-module.tar.gz https://github.com/tokers/zstd-nginx-module/archive/refs/heads/master.tar.gz
cd ${openrestyDir} && tar -zxvf zstd-nginx-module.tar.gz
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
pkg-config --exists --print-errors libzstd
if [ "$?" == "0" ];then
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
fi
fi
# --with-openssl=$serverPath/source/lib/openssl-1.0.2q
cd ${openrestyDir}/openresty-${VERSION} && ./configure \
--prefix=$serverPath/openresty \

@ -141,7 +141,11 @@ Install_openresty()
if [ ! -d ${openrestyDir}/zstd-nginx-module ];then
cd ${openrestyDir} && wget -O $openrestyDir/zstd-nginx-module.tar.gz https://github.com/tokers/zstd-nginx-module/archive/refs/heads/master.tar.gz
cd ${openrestyDir} && tar -zxvf zstd-nginx-module.tar.gz
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
pkg-config --exists --print-errors libzstd
if [ "$?" == "0" ];then
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
fi
fi

@ -140,7 +140,11 @@ Install_openresty()
if [ ! -d ${openrestyDir}/zstd-nginx-module ];then
cd ${openrestyDir} && wget -O $openrestyDir/zstd-nginx-module.tar.gz https://github.com/tokers/zstd-nginx-module/archive/refs/heads/master.tar.gz
cd ${openrestyDir} && tar -zxvf zstd-nginx-module.tar.gz
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
pkg-config --exists --print-errors libzstd
if [ "$?" == "0" ];then
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
fi
fi
# --with-openssl=$serverPath/source/lib/openssl-1.0.2q

@ -156,7 +156,11 @@ Install_openresty()
if [ ! -d ${openrestyDir}/zstd-nginx-module ];then
cd ${openrestyDir} && wget -O $openrestyDir/zstd-nginx-module.tar.gz https://github.com/tokers/zstd-nginx-module/archive/refs/heads/master.tar.gz
cd ${openrestyDir} && tar -zxvf zstd-nginx-module.tar.gz
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
pkg-config --exists --print-errors libzstd
if [ "$?" == "0" ];then
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
fi
fi
cd ${openrestyDir}/openresty-${VERSION} && ./configure \

@ -147,9 +147,13 @@ Install_openresty()
if [ ! -d ${openrestyDir}/zstd-nginx-module ];then
cd ${openrestyDir} && wget -O $openrestyDir/zstd-nginx-module.tar.gz https://github.com/tokers/zstd-nginx-module/archive/refs/heads/master.tar.gz
cd ${openrestyDir} && tar -zxvf zstd-nginx-module.tar.gz
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
pkg-config --exists --print-errors libzstd
if [ "$?" == "0" ];then
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
fi
fi
cd ${openrestyDir}/openresty-${VERSION} && ./configure \
--prefix=$serverPath/openresty \

@ -148,7 +148,11 @@ Install_openresty()
if [ ! -d ${openrestyDir}/zstd-nginx-module ];then
cd ${openrestyDir} && wget -O $openrestyDir/zstd-nginx-module.tar.gz https://github.com/tokers/zstd-nginx-module/archive/refs/heads/master.tar.gz
cd ${openrestyDir} && tar -zxvf zstd-nginx-module.tar.gz
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
pkg-config --exists --print-errors libzstd
if [ "$?" == "0" ];then
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master"
fi
fi

Loading…
Cancel
Save