Update install
This commit is contained in:
@@ -57,6 +57,8 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
||||
|
||||
# Nginx
|
||||
cd /opt/ && wget https://nginx.org/download/nginx-1.21.6.tar.gz && tar xf nginx-1.21.6.tar.gz && rm -Rf nginx-1.21.6.tar.gz
|
||||
cd /opt/nginx-1.21.6 && curl -s https://raw.githubusercontent.com/nginx-modules/ngx_http_tls_dyn_size/master/nginx__dynamic_tls_records_1.17.7%2B.patch > nginx__dynamic_tls_records.patch && patch -p1 <tcp-tls.patch
|
||||
cd /opt/nginx-1.21.6 && curl -s https://raw.githubusercontent.com/hakasenyang/openssl-patch/master/nginx_hpack_push_1.15.3.patch > nginx_hpack_push_1.15.3.patch && patch -p1 <nginx_http2_hpack.patch
|
||||
cd /opt/nginx-1.21.6 && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/builder > builder; bash builder
|
||||
cd /opt/nginx-1.21.6 && make -j`nproc`
|
||||
cd /opt/nginx-1.21.6 && make install
|
||||
|
||||
Reference in New Issue
Block a user