From f0c90428604ae120154aedc6945c826031ee2815 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 02:37:30 +0100 Subject: [PATCH] Update install --- install | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install b/install index ee28f6e..3f137c4 100644 --- a/install +++ b/install @@ -79,5 +79,15 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in cd /nginx/modules && wget https://github.com/theraw/The-World-Is-Yours/raw/focal-patch/static/mod/ngx_stream_geoip2_module.so cd /nginx/modules && wget https://github.com/theraw/The-World-Is-Yours/raw/focal-patch/static/mod/ngx_stream_js_module.so + # Fixes + mkdir -p /nginx/modsec + curl -s https://raw.githubusercontent.com/nbs-system/naxsi/master/naxsi_config/naxsi_core.rules > /nginx/modsec/naxsi_core.rules + curl -s https://raw.githubusercontent.com/SpiderLabs/ModSecurity/v3/master/modsecurity.conf-recommended > /nginx/modsec/modsecurity.conf + curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/focal-patch/static/modsec/tester.conf > /nginx/modsec/tester.conf + curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/focal-patch/static/modsec/unicode.mapping > /nginx/modsec/unicode.mapping + curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/focal-patch/static/nginx.conf > /nginx/nginx.conf + mkdir -p /nginx/live/ && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/focal-patch/static/default > /nginx/live/default + mkdir -p /hostdata/default/public_html/ && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/focal-patch/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/focal-patch/static/modsec/aes.min.js > /hostdata/default/public_html/cdn/modsec/aes.min.js ;; esac