nginquic : remove existed nginx

This commit is contained in:
unknown 2022-01-30 21:13:23 +07:00
parent 8456aa2117
commit 2d7109a7e8
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -10,6 +10,7 @@ cd nginx-quic
mkdir mosc && cd mosc && curl -sSL https://raw.githubusercontent.com/minoplhy/script/main/nginquic/modules.sh | bash && cd ..
curl -sSL https://raw.githubusercontent.com/minoplhy/script/main/nginquic/configure.sh | bash && make
cd objs && cp *.so /lib/nginx/modules
rm /usr/sbin/nginx
cp nginx /usr/sbin/nginx
curl -sSL https://raw.githubusercontent.com/minoplhy/script/main/nginquic/modules.conf > modules.conf
cp modules.conf /etc/nginx/modules-enabled