Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f06caa5eed | |||
| f0ead8ba23 | |||
| e7437e6136 | |||
| 6877a80789 | |||
| df1519bcea |
@@ -122,9 +122,7 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
|||||||
|
|
||||||
# Download Dynamic Modules
|
# Download Dynamic Modules
|
||||||
mkdir -p /nginx/modules; mkdir -p /tmp
|
mkdir -p /nginx/modules; mkdir -p /tmp
|
||||||
cd /tmp && wget https://github.com/theraw/The-World-Is-Yours/archive/refs/tags/0.0.1.tar.gz
|
cd /tmp && wget https://github.com/theraw/The-World-Is-Yours/archive/refs/heads/master.zip; unzip master.zip; rm -Rf master.zip; cp -a /tmp/The-World-Is-Yours-master/static/Focal/mod/*.so /nginx/modules/; rm -Rf /tmp/The-World-Is-Yours-master
|
||||||
cd /tmp && tar xf 0.0.1.tar.gz && rm -Rf 0.0.1.tar.gz && cp -a /tmp/The-World-Is-Yours-0.0.1/static/Focal/mod/*.so /nginx/modules/; rm -Rf /tmp/The-World-Is-Yours-0.0.1
|
|
||||||
|
|
||||||
# Fixes
|
# Fixes
|
||||||
mkdir -p /nginx/modsec; curl -s https://raw.githubusercontent.com/nbs-system/naxsi/master/naxsi_config/naxsi_core.rules > /nginx/modsec/naxi.core
|
mkdir -p /nginx/modsec; curl -s https://raw.githubusercontent.com/nbs-system/naxsi/master/naxsi_config/naxsi_core.rules > /nginx/modsec/naxi.core
|
||||||
curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/modsec/l7.conf > /nginx/modsec/l7.conf
|
curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/modsec/l7.conf > /nginx/modsec/l7.conf
|
||||||
@@ -272,9 +270,7 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
|||||||
|
|
||||||
# Download Dynamic Modules
|
# Download Dynamic Modules
|
||||||
mkdir -p /nginx/modules; mkdir -p /tmp
|
mkdir -p /nginx/modules; mkdir -p /tmp
|
||||||
cd /tmp && wget https://github.com/theraw/The-World-Is-Yours/archive/refs/tags/0.0.1.tar.gz
|
cd /tmp && wget https://github.com/theraw/The-World-Is-Yours/archive/refs/heads/master.zip; unzip master.zip; rm -Rf master.zip; cp -a /tmp/The-World-Is-Yours-master/static/Jammy/mod/*.so /nginx/modules/; rm -Rf /tmp/The-World-Is-Yours-master
|
||||||
cd /tmp && tar xf 0.0.1.tar.gz && rm -Rf 0.0.1.tar.gz && cp -a /tmp/The-World-Is-Yours-0.0.1/static/Jammy/mod/*.so /nginx/modules/; rm -Rf /tmp/The-World-Is-Yours-0.0.1
|
|
||||||
|
|
||||||
# Fixes
|
# Fixes
|
||||||
mkdir -p /nginx/modsec
|
mkdir -p /nginx/modsec
|
||||||
curl -s https://raw.githubusercontent.com/nbs-system/naxsi/master/naxsi_config/naxsi_core.rules > /nginx/modsec/naxi.core
|
curl -s https://raw.githubusercontent.com/nbs-system/naxsi/master/naxsi_config/naxsi_core.rules > /nginx/modsec/naxi.core
|
||||||
|
|||||||
@@ -1,14 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#unless custom use default
|
#unless custom use default
|
||||||
export NGINX="1.22.1"
|
export NGINX="1.22.1"
|
||||||
|
|
||||||
export LUA_SCRIPTS="/usr/twiylua/"
|
export LUA_SCRIPTS="/usr/twiylua/"
|
||||||
|
|
||||||
export FOCAL_VERSION_NGINX="1.22.1"
|
export FOCAL_VERSION_NGINX="1.22.1"
|
||||||
export FOCAL_VERSION_LUA="2.1-20220915"
|
export FOCAL_VERSION_LUA="2.1-20220915"
|
||||||
export FOCAL_VERSION_NGX_LUA="0.10.22"
|
export FOCAL_VERSION_NGX_LUA="0.10.22"
|
||||||
export FOCAL_VERSION_NGX_RESTY_CORE="0.1.24"
|
export FOCAL_VERSION_NGX_RESTY_CORE="0.1.24"
|
||||||
export FOCAL_VERSION_NGX_RESTY_LRUCACHE="0.13"
|
export FOCAL_VERSION_NGX_RESTY_LRUCACHE="0.13"
|
||||||
export FOCAL_VERSION_NGX_MODSECURITY="3.0.8"
|
export FOCAL_VERSION_NGX_MODSECURITY="3.0.8"
|
||||||
|
export FOCAL_PCRE="10.42"
|
||||||
|
export FOCAL_OPENSSL="1_1_1f"
|
||||||
|
export FOCAL_ZLIB="1.2.13"
|
||||||
|
|
||||||
export JAMMY_VERSION_NGINX="1.22.1"
|
export JAMMY_VERSION_NGINX="1.22.1"
|
||||||
export JAMMY_VERSION_LUA="2.1-20220915"
|
export JAMMY_VERSION_LUA="2.1-20220915"
|
||||||
@@ -16,6 +19,9 @@ export JAMMY_VERSION_NGX_LUA="0.10.22"
|
|||||||
export JAMMY_VERSION_NGX_RESTY_CORE="0.1.24"
|
export JAMMY_VERSION_NGX_RESTY_CORE="0.1.24"
|
||||||
export JAMMY_VERSION_NGX_RESTY_LRUCACHE="0.13"
|
export JAMMY_VERSION_NGX_RESTY_LRUCACHE="0.13"
|
||||||
export JAMMY_VERSION_NGX_MODSECURITY="3.0.8"
|
export JAMMY_VERSION_NGX_MODSECURITY="3.0.8"
|
||||||
|
export JAMMY_PCRE="10.42"
|
||||||
|
export JAMMY_OPENSSL="3.0.2"
|
||||||
|
export JAMMY_ZLIB="1.2.13"
|
||||||
|
|
||||||
export NGX_DEVEL_KIT="0.3.2"
|
export NGX_DEVEL_KIT="0.3.2"
|
||||||
export NGX_PAGESPEED="1.13.35.2"
|
export NGX_PAGESPEED="1.13.35.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user