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