diff --git a/plugins/openresty/versions/1.29.2/install.sh b/plugins/openresty/versions/1.29.2/install.sh index cd8c49533..c2913b013 100644 --- a/plugins/openresty/versions/1.29.2/install.sh +++ b/plugins/openresty/versions/1.29.2/install.sh @@ -143,6 +143,13 @@ Install_openresty() OPTIONS="${OPTIONS} --with-file-aio" OPTIONS="${OPTIONS} --with-pcre-jit" OPTIONS="${OPTIONS} --with-http_gzip_static_module" + + + 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 + fi + cd ${openrestyDir}/openresty-${VERSION} && ./configure \