nginquic : cover a case that there's no nginx modules folder already

This commit is contained in:
unknown 2022-03-08 14:59:31 +07:00
parent e9a7305c73
commit ace356d5e9
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ cd .. && cd ..
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
mkdir /lib/nginx/ && mkdir /lib/nginx/modules
cd objs && cp *.so /lib/nginx/modules
rm /usr/sbin/nginx
cp nginx /usr/sbin/nginx