主要实现: Nginx limit_req / limit_conn 基础限流 Fail2ban根据 Nginx 日志自动封禁异常 IP 如果服务器前面有 CDN 需要配置好cdn的请求拿到真实ip。 https://github.com/wujiit/qilnmp 一键, 安全防护, 脚本