mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -114,7 +114,7 @@ Install_openresty()
|
||||
|
||||
fi
|
||||
|
||||
if [[ "$VERSION" =~ "1.25.3" ]] || [[ "$VERSION" =~ "1.27.1" ]];then
|
||||
if [[ "$VERSION" =~ "1.27.1" ]];then
|
||||
OPTIONS="${OPTIONS} --with-http_v3_module"
|
||||
|
||||
if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then
|
||||
|
||||
@@ -117,16 +117,16 @@ Install_openresty()
|
||||
if [[ "$VERSION" =~ "1.29.2" ]];then
|
||||
OPTIONS="${OPTIONS} --with-http_v3_module"
|
||||
|
||||
if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then
|
||||
wget --no-check-certificate -O ${openrestyDir}/libressl-${libresslVersion}.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${libresslVersion}.tar.gz
|
||||
fi
|
||||
# if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then
|
||||
# wget --no-check-certificate -O ${openrestyDir}/libressl-${libresslVersion}.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${libresslVersion}.tar.gz
|
||||
# fi
|
||||
|
||||
if [ ! -d ${openrestyDir}/libressl-${libresslVersion} ];then
|
||||
cd ${openrestyDir} && tar -zxvf libressl-${libresslVersion}.tar.gz
|
||||
fi
|
||||
# if [ ! -d ${openrestyDir}/libressl-${libresslVersion} ];then
|
||||
# cd ${openrestyDir} && tar -zxvf libressl-${libresslVersion}.tar.gz
|
||||
# fi
|
||||
|
||||
OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/include"
|
||||
OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/lib"
|
||||
# OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/include"
|
||||
# OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/lib"
|
||||
fi
|
||||
|
||||
# br
|
||||
|
||||
Reference in New Issue
Block a user