Files
The-World-Is-Yours/README.md
T
2022-10-26 16:48:19 -07:00

3.1 KiB

Nginx L7 DDoS Protection! 💥 Docker Image CI

Now easier then before, you will have to compile only Nginx, Rest of modules come pre-compiled. Simple

  • Support Ubuntu 20.04.
  • Support Ubuntu 22.04.1

-- Security Dynamic Modules.

How do these 3 modules work together? Well L7 will block all or most of bots, however modSecurity and Naxsi take priority over cookie challenge! So if its a offensive request that modsecurity or naxsi detect it as such then these 2 will deal with that request otherwise cookie challenge will appear.

INSTALLATION

  1. apt-get install build-essential libssl-dev curl nano wget zip unzip sudo git psmisc -y

  2. curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/install > install; bash install

FOLDER PATH.

=> /nginx/                                = Nginx Path, (private)
=> /nginx/live/                           = Vhosts Configs (private)
=> /nginx/modsec/                         = Security Rules Dir (private)
=> /hostdata/                             = Place to store your domain folders. (private)
=> /hostdata/yourdomain.com/              = Ex of domain dir (private folder),
=> /hostdata/yourdomain.com/public_html/  = Ex of your domain webroot (public files only),
=> /hostdata/yourdomain.com/logs/         = Place where to store your Domains logs (access.log) (private folder),
=> /hostdata/yourdomain.com/ssl/          = Place where to store domain ssl/key (private folder),
=> /hostdata/yourdomain.com/cache/        = Place where to store site cache (private folder).

// Private Folder - Means this cannot be accessed by public.
// Public Folder  - Means files into this folder can be accessed by public.

KEEP IN MIND!

  1. You're trading perfomance for security.
  2. If your server provider does not have anti-ddos your IPTABLES will fail to keep the bans, and your server may be offline in cases of big attacks.
  3. This is not a free script that will do everything for you. Read Modules Documentations about how to use them.

Contributors

Special thanks to the following contributors:


ƬHE ЯAW ☣

Lục Thiên Phong