uuWAF
uuWAF copied to clipboard
waf.form["FORM"]无法获取到form表单
插件中需要将过滤阶段放在req_post_filter阶段才能获取完整的api
上面配置是在nginx配置文件下载站点:/api/log/ 后,再用uuwaf代理端口出去的。 server { listen 8084; server_name localhost;
location /api/log/ {
alias /var/www/api/Logs/;
if ($request_filename ~* ^.*?\.(html|doc|pdf|zip|docx|txt)$) {
add_header Content-Disposition attachment;
add_header Content-Type application/octet-stream;
}
sendfile on; # 开启高效文件传输模式
autoindex on; # 开启目录文件列表
autoindex_exact_size on; # 显示出文件的确切大小,单位是bytes
autoindex_localtime on; # 显示的文件时间为文件的服务器时间
charset utf-8,gbk; # 避免中文乱码
}
}