mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update init.lua
This commit is contained in:
@@ -321,6 +321,7 @@ local function waf_cc_increase()
|
|||||||
|
|
||||||
make_uri_str = "waf_unbind_"..cache_rand.."_"..cache_token
|
make_uri_str = "waf_unbind_"..cache_rand.."_"..cache_token
|
||||||
make_uri = "/"..make_uri_str
|
make_uri = "/"..make_uri_str
|
||||||
|
C:D(make_uri_str..":"..make_uri)
|
||||||
if uri == make_uri then
|
if uri == make_uri then
|
||||||
ngx.shared.limit:set(cache_token,1, config['safe_verify']['time'])
|
ngx.shared.limit:set(cache_token,1, config['safe_verify']['time'])
|
||||||
C:return_message(200, get_return_state(0,'ok'))
|
C:return_message(200, get_return_state(0,'ok'))
|
||||||
|
|||||||
Reference in New Issue
Block a user