|
|
@ -31,7 +31,6 @@ nginx安装路径假设为:/usr/local/nginx/conf/
|
|
|
|
|
|
|
|
|
|
|
|
在nginx.conf的http段添加
|
|
|
|
在nginx.conf的http段添加
|
|
|
|
|
|
|
|
|
|
|
|
lua_package_path "/usr/local/nginx/conf/waf/?.lua";
|
|
|
|
|
|
|
|
lua_shared_dict limit 10m;
|
|
|
|
lua_shared_dict limit 10m;
|
|
|
|
init_by_lua_file /usr/local/nginx/conf/waf/init.lua;
|
|
|
|
init_by_lua_file /usr/local/nginx/conf/waf/init.lua;
|
|
|
|
access_by_lua_file /usr/local/nginx/conf/waf/waf.lua;
|
|
|
|
access_by_lua_file /usr/local/nginx/conf/waf/waf.lua;
|
|
|
|