Update README.md

This commit is contained in:
𝓙𝓾𝓵𝓲𝓸
2024-05-22 00:33:59 +02:00
committed by GitHub
parent 9c757704e7
commit b2c326ac59
+36 -20
View File
@@ -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) # 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) ![Simple](https://c.tenor.com/uYqsM9uIyuYAAAAC/simple-easy.gif)
- [x] Support Ubuntu 20.04. - [x] Support Ubuntu 22.04
- [x] Support Ubuntu 22.04.1 - [x] Latest Nginx 1.26.0
- [x] ModSecurity Support.
-- Security Dynamic Modules. - [x] Naxsi Support.
- [x] ModSecurity Support. - [x] Lua Support.
- [x] Naxsi Support. - [x] Cookie Based Challenge.
- [x] Lua Support. - [x] [Versions List](https://github.com/theraw/The-World-Is-Yours/blob/master/version)
- [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)
## Compile from source ## Compile from source
``` ```bash
git clone git clone https://github.com/theraw/The-World-Is-Yours.git
cd The-World-Is-Yours/ cd The-World-Is-Yours/
bash run.sh new bash build/run.sh new
bash run.sh build 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. ## Basic info.
@@ -35,14 +37,28 @@ bash run.sh build
=> --sbin-path = /usr/sbin/nginx => --sbin-path = /usr/sbin/nginx
=> --error-log-path = /var/log/nginx/error.log => --error-log-path = /var/log/nginx/error.log
LUA RESTY CORE SCRIPTS = /usr/nginx_lua/ LUA RESTY CORE SCRIPTS = /usr/nginx_lua
// YOUR NGINX IS LOCATED AT /nginx NOT /etc/nginx
``` ```
## 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 ## Contributors
Feel free to submit a pull request.
Special thanks to the following contributors: Special thanks to the following contributors:
<!-- prettier-ignore-start --> <!-- prettier-ignore-start -->