From b2c326ac59b0a85ed919064c4363e9699f9d1f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=93=99=F0=9D=93=BE=F0=9D=93=B5=F0=9D=93=B2?= =?UTF-8?q?=F0=9D=93=B8?= Date: Wed, 22 May 2024 00:33:59 +0200 Subject: [PATCH] Update README.md --- README.md | 56 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 21a7f5e..426007a 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,30 @@ # Nginx L7 DDoS Protection! :boom: :zap: [![Docker Image CI](https://github.com/theraw/The-World-Is-Yours/workflows/BobTheBuilder/badge.svg?branch=master)](https://github.com/theraw/The-World-Is-Yours/actions/workflows/docker-image.yml) -Now easier then before, you will have to compile only Nginx, Rest of modules come pre-compiled. + ![Simple](https://c.tenor.com/uYqsM9uIyuYAAAAC/simple-easy.gif) -- [x] Support Ubuntu 20.04. -- [x] Support Ubuntu 22.04.1 - --- Security Dynamic Modules. - - [x] ModSecurity Support. - - [x] Naxsi Support. - - [x] Lua Support. - - [x] Cookie Based Challenge. - - [x] [MOD LIST X Ubuntu 20.04](https://github.com/theraw/The-World-Is-Yours/tree/master/static/Focal/mod) - - [x] [MOD LIST X Ubuntu 22.04](https://github.com/theraw/The-World-Is-Yours/tree/master/static/Jammy/mod) - - [x] [Versions](https://github.com/theraw/The-World-Is-Yours/blob/master/version) +- [x] Support Ubuntu 22.04 +- [x] Latest Nginx 1.26.0 +- [x] ModSecurity Support. +- [x] Naxsi Support. +- [x] Lua Support. +- [x] Cookie Based Challenge. +- [x] [Versions List](https://github.com/theraw/The-World-Is-Yours/blob/master/version) ## Compile from source -``` -git clone +```bash +git clone https://github.com/theraw/The-World-Is-Yours.git cd The-World-Is-Yours/ -bash run.sh new -bash run.sh build +bash build/run.sh new +bash build/run.sh build ``` - +If you want to try with a custom nginx version then, open `version` file and change versions then run +```bash +bash build/run.sh new +bash build/run.sh build +``` +The `bash build/run.sh new` will always download things that are missing, +for example if you change a version from file it will download the new version, if you want to clear things out then run `rm -rf /opt/mod && rm -rf /opt/nginx-*` ## Basic info. @@ -35,14 +37,28 @@ bash run.sh build => --sbin-path = /usr/sbin/nginx => --error-log-path = /var/log/nginx/error.log -LUA RESTY CORE SCRIPTS = /usr/nginx_lua/ - -// YOUR NGINX IS LOCATED AT /nginx NOT /etc/nginx +LUA RESTY CORE SCRIPTS = /usr/nginx_lua ``` +## How to install lua scripts +``` +. /root/The-World-Is-Yours/version +cd /opt/mod/; git clone https://github.com/openresty/lua-resty-lrucache.git +cd /opt/mod/lua-resty-lrucache; make install PREFIX=${LUA_SCRIPTS} +nginx -s reload +``` + +# Support options. + +- No free support for how to do things, please don't spam with questions in discord. +- Free support for installation related errors only, is included. + +- Business inquiries, regarding anti-ddos protection or other security/optimization concerns you can contact me on : raw@dopehosting.net + ## Contributors +Feel free to submit a pull request. Special thanks to the following contributors: