fix deny cc uri

pull/23/head
loveshell 2013-12-10 14:35:12 +08:00
parent 340283ac65
commit 8063e990ae
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ end
function denycc() function denycc()
if CCDeny then if CCDeny then
local uri=ngx.var.request_uri local uri=ngx.var.uri
CCcount=tonumber(string.match(CCrate,'(.*)/')) CCcount=tonumber(string.match(CCrate,'(.*)/'))
CCseconds=tonumber(string.match(CCrate,'/(.*)')) CCseconds=tonumber(string.match(CCrate,'/(.*)'))
local token = getClientIp()..uri local token = getClientIp()..uri