From 88de83eb815f92baa3bc1fba7525839edf8703ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C6=ACHE=20=D0=AFAW=20=E2=98=A3?= Date: Sat, 19 Mar 2022 03:16:46 +0100 Subject: [PATCH] Update install --- install | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/install b/install index 88a3887..67fb39e 100644 --- a/install +++ b/install @@ -61,11 +61,6 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in cd /opt/nginx-1.21.6 && make -j`nproc` cd /opt/nginx-1.21.6 && make install curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nginx.service.Focal > /lib/systemd/system/nginx.service - killall nginx - useradd nginx - systemctl daemon-reload - systemctl restart nginx - systemctl enable nginx # Download Dynamic Modules cd /nginx/modules && wget https://github.com/theraw/The-World-Is-Yours/raw/master/static/mod/ndk_http_module.so @@ -94,5 +89,14 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in mkdir -p /nginx/live/ && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/default > /nginx/live/default mkdir -p /hostdata/default/public_html/ && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/index.html > /hostdata/default/public_html/ mkdir -p /hostdata/default/public_html/cdn && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/modsec/aes.min.js > /hostdata/default/public_html/cdn/modsec/aes.min.js + + + # Start + killall nginx + useradd nginx + systemctl daemon-reload + systemctl stop nginx + systemctl start nginx + systemctl enable nginx ;; esac