|
|
@ -35,9 +35,10 @@ Install_openresty() |
|
|
|
|
|
|
|
|
|
|
|
cd ${openrestyDir} && tar -zxvf openresty-${VERSION}.tar.gz |
|
|
|
cd ${openrestyDir} && tar -zxvf openresty-${VERSION}.tar.gz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# --with-openssl=$serverPath/source/lib/openssl-1.0.2q |
|
|
|
cd ${openrestyDir}/openresty-${VERSION} && ./configure --prefix=$serverPath/openresty \ |
|
|
|
cd ${openrestyDir}/openresty-${VERSION} && ./configure --prefix=$serverPath/openresty \ |
|
|
|
--with-http_v2_module \ |
|
|
|
--with-http_v2_module \ |
|
|
|
--with-openssl=$serverPath/source/lib/openssl-1.0.2q \ |
|
|
|
--with-http_ssl_module \ |
|
|
|
--with-http_stub_status_module && make && make install && \ |
|
|
|
--with-http_stub_status_module && make && make install && \ |
|
|
|
echo "${VERSION}" > $serverPath/openresty/version.pl |
|
|
|
echo "${VERSION}" > $serverPath/openresty/version.pl |
|
|
|
|
|
|
|
|
|
|
|