mirror of
https://github.com/minoplhy/nginquic.git
synced 2024-11-22 19:47:04 +00:00
nginquic : Link Correct Branch
This commit is contained in:
parent
4ae4d063d0
commit
d3affd7f4d
8
build.sh
8
build.sh
@ -1,6 +1,6 @@
|
|||||||
cd ~/
|
cd ~/
|
||||||
rm -rf nginquic
|
rm -rf nginquic
|
||||||
curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/main/packages.sh | bash
|
curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/ModSecurity_incl/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 --depth=1 https://github.com/google/boringssl
|
git clone --depth=1 https://github.com/google/boringssl
|
||||||
@ -20,11 +20,11 @@ sudo make install
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd nginx-quic
|
cd nginx-quic
|
||||||
mkdir mosc && cd mosc && curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/main/modules.sh | bash && cd ..
|
mkdir mosc && cd mosc && curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/ModSecurity_incl/modules.sh | bash && cd ..
|
||||||
curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/main/configure.sh | bash && make
|
curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/ModSecurity_incl/configure.sh | bash && make
|
||||||
mkdir /lib/nginx/ && mkdir /lib/nginx/modules
|
mkdir /lib/nginx/ && mkdir /lib/nginx/modules
|
||||||
cd objs && cp *.so /lib/nginx/modules
|
cd objs && cp *.so /lib/nginx/modules
|
||||||
rm /usr/sbin/nginx
|
rm /usr/sbin/nginx
|
||||||
cp nginx /usr/sbin/nginx
|
cp nginx /usr/sbin/nginx
|
||||||
curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/main/modules.conf > modules.conf
|
curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/ModSecurity_incl/modules.conf > modules.conf
|
||||||
cp modules.conf /etc/nginx/modules-enabled
|
cp modules.conf /etc/nginx/modules-enabled
|
Loading…
Reference in New Issue
Block a user