|
|
|
|
@ -137,7 +137,12 @@ Install_openresty() |
|
|
|
|
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 |
|
|
|
|
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# --with-openssl=$serverPath/source/lib/openssl-1.0.2q |
|
|
|
|
cd ${openrestyDir}/openresty-${VERSION} && ./configure \ |
|
|
|
|
--prefix=$serverPath/openresty \ |
|
|
|
|
|