From 916d39e2053fcecfa3df314afdc6c705b7427aad Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 4 Sep 2023 18:15:21 +0800 Subject: [PATCH] Update install.sh --- plugins/openresty/install.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index 7dfeab835..38459dd35 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -78,9 +78,14 @@ Install_openresty() cd ${openrestyDir} && tar -zxvf openresty-${VERSION}.tar.gz OPTIONS='' - # if [ "$VERSION" != "1.21.4.2" ];then - # OPTIONS=" ${OPTIONS} --with-ipv6 " - # fi + if [ "$VERSION" != "1.21.4.2" ];then + OPTIONS=" ${OPTIONS} --with-ipv6 " + fi + + if [ "$VERSION" != "1.17.8.2" ];then + OPTIONS=" ${OPTIONS} --with-ipv6 " + fi + # --with-openssl=$serverPath/source/lib/openssl-1.0.2q cd ${openrestyDir}/openresty-${VERSION} && ./configure \ --prefix=$serverPath/openresty \