4.0 KiB
4.0 KiB
Nginx L7 DDoS Protection! 💥 ⚡
- Support Ubuntu 22.04
- Latest Nginx 1.26.0
- HTTP/3
- Admin Panel : Optional (Not installed by default)
- Home Page (Nginx stats/graph via nginx stub stats)
- Vhosts Page (Create, Delete, Edit)
- Nginx Settings Page (Only change existing nginx.conf values)
- Log Reporting Page (Not set yet, might be all in one page or seperated pages for access logs, modsec logs)
- Php installer and selector
- One click App installer (WordPress)
- ModSecurity Support (Ngx Mod)
- Naxsi Support (Ngx Mod)
- Lua Support.
- AutoSSL (Lua Mod)
- Rate Limit (Lua Mod)
- Captcha (Lua Mod)
- Cookie Based Challenge (Ngx Mod)
- Versions List
Installation methods.
- 1 : Repository (Easy)
# Add repository and update system. echo '' > /etc/apt/sources.list.d/the-world-is-yours.list apt-get update; apt-get upgrade -y # Install nginx. apt-get install raweb -y # Install admin panel. apt-get install raweb-admin -y - 2 : Manual .deb (Med)
Download them from : https://github.com/theraw/The-World-Is-Yours/releases - 3 : Compile from source (Hard)
apt-get -y install git && cd /root/ && git clone https://github.com/theraw/The-World-Is-Yours.git && cd The-World-Is-Yours/ bash build/run.sh new bash build/run.sh build bash build/run.sh postfix- 3.1 : Compiling from source with changed versions
# assuming you completed step 3. # update "version" file then run again bash build/run.sh new bash build/run.sh build
- 3.1 : Compiling from source with changed versions
CLI Info
bash build/run.sh new => Download all modules + nginx that are missing from /opt/. (If you make version changes to 'version' file then simply rerun this to download again)
bash build/run.sh build => This is going to simply compile nginx nothing else. (You can run this as many times as you need, its not going to replace configs)
bash build/run.sh postfix => This will redownload /nginx/nginx.conf everytime you run it. (Suggested to run only once when you install nginx via my repo for first time)
Nginx Structure.
=> Nginx Folder = /nginx/
=> --conf-path = /nginx/nginx.conf
=> --pid-path = /var/run/nginx.pid
=> --user = nginx
=> --group = nginx
=> --sbin-path = /usr/sbin/nginx
=> --error-log-path = /var/log/nginx/error.log
LUA RESTY CORE SCRIPTS = /usr/nginx_lua
# Admin Panel Info
=> Folder = /nginx/admin/public_html
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:
|
ƬHE ЯAW ☣ |
Lục Thiên Phong |
