分享自己写的防CC WAF

如题,分享下自己写的防CC WAF,项目地址: https://github.com/xnile/muxwaf 目前已经完成的功能: 频率限制防CC 白名单功能 IP及地域级IP黑名单功能 支持API管理 自带WEB

Nginx Upstream流程分析

源码基于nginx 1.17.8 事起于在看nginx ingress源码对lua部分的一行代码产生了疑问 1 ngx_balancer.set_more_tries(1) 于是查了api set_more_tries syntax: ok, err = balancer.set_more_tries(count) context: balancer_by_lua* Sets the tries performed when the current attempt