增加后缀名限制说明

distributed
loveshell 2013-04-17 01:22:49 +08:00
parent 2c0a5556d1
commit fb313dac15
1 changed files with 1 additions and 1 deletions

View File

@ -34,9 +34,9 @@ ngx_lua_waf是我刚入职趣游时候开发的一个基于ngx_lua的web应用
rulepath='/usr/local/nginx/conf/wafconf/'
syslogserver='127.0.0.1'
如果需要开启syslog传输请取消掉log函数部分的注释
filext是限制上传的文件后缀名
在nginx.conf的http段添加
lua_need_request_body on;开启post请求
init_by_lua_file /usr/local/nginx/conf/init.lua;
access_by_lua_file /usr/local/nginx/conf/waf.lua;