基于openresty/lua-nginx-module的全新设计的WAF系统
- openresty or nginx with openresty/lua-nginx-module
- openresty-best-practices/redis_iresty.lua
- wingify/lua-resty-rabbitmqstomp
将代码放在位于nginx根目录下的lua/WizWAF/下
在nginx.conf的http段中添加如下配置:
lua_package_path "/usr/local/openresty/nginx/lua/WizWAF/?.lua;;";
init_by_lua_file lua/WizWAF/init.lua;
access_by_lua_file lua/WizWAF/waf.lua;
lua_shared_dict redis_cache 10m;
首席安全官[https://cncso.com]