|
|
@ -78,9 +78,14 @@ Install_openresty() |
|
|
|
cd ${openrestyDir} && tar -zxvf openresty-${VERSION}.tar.gz |
|
|
|
cd ${openrestyDir} && tar -zxvf openresty-${VERSION}.tar.gz |
|
|
|
|
|
|
|
|
|
|
|
OPTIONS='' |
|
|
|
OPTIONS='' |
|
|
|
# if [ "$VERSION" != "1.21.4.2" ];then |
|
|
|
if [ "$VERSION" != "1.21.4.2" ];then |
|
|
|
# OPTIONS=" ${OPTIONS} --with-ipv6 " |
|
|
|
OPTIONS=" ${OPTIONS} --with-ipv6 " |
|
|
|
# fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$VERSION" != "1.17.8.2" ];then |
|
|
|
|
|
|
|
OPTIONS=" ${OPTIONS} --with-ipv6 " |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# --with-openssl=$serverPath/source/lib/openssl-1.0.2q |
|
|
|
# --with-openssl=$serverPath/source/lib/openssl-1.0.2q |
|
|
|
cd ${openrestyDir}/openresty-${VERSION} && ./configure \ |
|
|
|
cd ${openrestyDir}/openresty-${VERSION} && ./configure \ |
|
|
|
--prefix=$serverPath/openresty \ |
|
|
|
--prefix=$serverPath/openresty \ |
|
|
|