Nginx waf
配置
- nginx
http { # lua_waf lua_shared_dict limit 50m; #根据主机内存调合适的值 lua_shared_dict iplimit 20m; lua_shared_dict blockiplimit 5m; lua_package_path "/usr/local/nginx/conf/waf/?.lua"; init_by_lua_file /usr/local/nginx/conf/waf/init.lua; access_by_lua_file /usr/local/nginx/conf/waf/access.lua; }
- lua cat
/local/nginx/conf/waf/config.lua config_waf_enable = "on"
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »