mirror of
https://github.com/minoplhy/nginquic.git
synced 2024-11-22 19:47:04 +00:00
build.sh : fix unchecked merge mistake
This commit is contained in:
parent
c33b5f286e
commit
07a631d09a
6
build.sh
6
build.sh
@ -28,8 +28,8 @@ 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
|
||||||
|
|
||||||
read -p "Would you like to Install Nginx Scriptly? (y/n)?" choice
|
read -p "Would you like to Install Nginx Scriptly? (y/n)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
@ -43,7 +43,7 @@ if [[ $Nginx_Install_ANS == "install" ]]; then
|
|||||||
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
|
||||||
else
|
else
|
||||||
echo "Nginx Installation Abort. Your Nginx assets location is : ~/nginquic/nginx-quic/objs"
|
echo "Nginx Installation Abort. Your Nginx assets location is : ~/nginquic/nginx-quic/objs"
|
||||||
|
Loading…
Reference in New Issue
Block a user