nginquic : link curl

This commit is contained in:
unknown 2022-01-30 20:48:39 +07:00
parent d21bc7bd48
commit 2aa081ccca
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -1,5 +1,5 @@
cd ~/ cd ~/
curl -sSL packages.sh | bash curl -sSL https://raw.githubusercontent.com/minoplhy/script/main/nginquic/packages.sh | bash
mkdir nginquic && cd nginquic mkdir nginquic && cd nginquic
hg clone -b quic https://hg.nginx.org/nginx-quic hg clone -b quic https://hg.nginx.org/nginx-quic
git clone https://github.com/google/boringssl git clone https://github.com/google/boringssl
@ -7,9 +7,9 @@ cd boringssl
mkdir build && cd build && cmake .. && make mkdir build && cd build && cmake .. && make
cd .. && cd .. cd .. && cd ..
cd nginx-quic cd nginx-quic
mkdir mosc && cd mosc && curl dependency.sh | bash && cd .. mkdir mosc && cd mosc && curl -sSL https://raw.githubusercontent.com/minoplhy/script/main/nginquic/modules.sh | bash && cd ..
curl -sSL configure.sh | bash && make curl -sSL https://raw.githubusercontent.com/minoplhy/script/main/nginquic/configure.sh | bash && make
cd objs cp *.so /lib/nginx/modules cd objs cp *.so /lib/nginx/modules
cp nginx /usr/sbin/nginx cp nginx /usr/sbin/nginx
curl modules.conf > modules.conf curl -sSL https://raw.githubusercontent.com/minoplhy/script/main/nginquic/modules.conf > modules.conf
cp modules.conf /etc/nginx/modules-enabled cp modules.conf /etc/nginx/modules-enabled