mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -132,11 +132,11 @@ Install_openresty()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# br
|
# br
|
||||||
if [ ! -d ${openrestyDir}/openresty-${VERSION}/ngx_brotli ];then
|
if [ ! -d ${openrestyDir}/ngx_brotli ];then
|
||||||
cd ${openrestyDir}/openresty-${VERSION} && git clone https://github.com/wxx9248/ngx_brotli.git
|
cd ${openrestyDir} && git clone https://github.com/wxx9248/ngx_brotli.git
|
||||||
cd ${openrestyDir}/openresty-${VERSION}/ngx_brotli && git submodule update --init
|
cd ${openrestyDir}/ngx_brotli && git submodule update --init
|
||||||
|
|
||||||
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/openresty-${VERSION}/ngx_brotli"
|
OPTIONS="${OPTIONS} --add-module=${openrestyDir}/ngx_brotli"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OPTIONS="${OPTIONS} --with-threads"
|
OPTIONS="${OPTIONS} --with-threads"
|
||||||
|
|||||||
Reference in New Issue
Block a user