From 8063e990ae6e9de316e475d1981822290d5265ea Mon Sep 17 00:00:00 2001 From: loveshell <82163261@qq.com> Date: Tue, 10 Dec 2013 14:35:12 +0800 Subject: [PATCH] fix deny cc uri --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 7605939..84c3fd4 100644 --- a/init.lua +++ b/init.lua @@ -161,7 +161,7 @@ end function denycc() if CCDeny then - local uri=ngx.var.request_uri + local uri=ngx.var.uri CCcount=tonumber(string.match(CCrate,'(.*)/')) CCseconds=tonumber(string.match(CCrate,'/(.*)')) local token = getClientIp()..uri