We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d59b1b commit 11cc008Copy full SHA for 11cc008
README.md
@@ -67,11 +67,11 @@ ngx_lua_waf改版基于原[ngx_lua_waf](https://github.com/loveshell/ngx_lua_waf
67
log("-","file attack with ext. rule: " .. rule)
68
--还有log函数,略..。
69
70
-*【新增功能】*
+**【新增功能】**
71
1、post文件上传时单独对文件内容检查设置一个小开关
72
2、上传文件的后缀黑名单改为允许上传的后缀白名单(因为未知的文件后缀数量太多,而且具有不确定性),并且对文件没有后缀的跳过次检查(ps你也可以强制改为必须有后缀,但感觉意义不大)
73
3、对上传成功的文件和,上传失败的,单独记录日志,便于查找
74
-*【修改nginx配置lua环境参数】*
+**【修改nginx配置lua环境参数】**
75
lua_package_path "/usr/local/openresty/nginx/conf/waf/?.lua;;";
76
lua_package_cpath "/usr/local/openresty/lualib/?.so;;";
77
lua_shared_dict urllimit 10m;
0 commit comments