Welcome to the Nginx Lua Anti-DDoS repository! This project provides a comprehensive solution for mitigating DDoS attacks using Nginx with Lua scripting, enhancing your web server's resilience against malicious traffic.
DDoS (Distributed Denial of Service) attacks can severely disrupt online services. Utilizing Nginx with Lua scripts allows for dynamic and flexible configurations to detect and block such attacks in real-time, ensuring your services remain available.
- Dynamic Rate Limiting: Control the number of requests from individual IP addresses to prevent overload. β±οΈ
- Geo-Blocking: Block or limit traffic from specific geographic locations known for malicious activities. π
- Customizable Rules: Easy-to-modify Lua scripts that allow administrators to implement specific filtering rules. βοΈ
- Real-Time Monitoring: Track incoming traffic patterns and adjust rules dynamically based on current conditions. π
- Logging and Alerts: Maintain logs of blocked requests and receive alerts for suspicious activities. π
Modify the access.lua script to set your desired rate limits and rules. Monitor the logs for any blocked requests and adjust your configuration as necessary. Regularly update your rules to adapt to evolving DDoS tactics.
We welcome contributions to improve the Nginx Lua Anti-DDoS project! If you have suggestions, features, or bug fixes:
Fork the repository. Make your changes and add your contributions. Submit a pull request for review.
This project is open-source and available under the MIT License. See the LICENSE file for more details.
If you have questions or encounter issues, please open an issue in the repository. Weβre here to help! π
Fortify your web services against DDoS attacks with Nginx Lua Anti-DDoS and ensure reliable uptime! π