deny HP Web Inspect scanner

distributed
loveshell 2013-03-24 01:12:47 +08:00
parent 2f05e328c1
commit 1e1f622567
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ else
check() check()
elseif ngx.req.get_headers()['Acunetix-Aspect'] then elseif ngx.req.get_headers()['Acunetix-Aspect'] then
ngx.exit(400) ngx.exit(400)
elseif ngx.req.get_headers()['X-Scan-Memo'] then
ngx.exit(400)
else else
return return
end end