Authored by chunhua.zhang

add robots.txt

... ... @@ -27,7 +27,7 @@ function limit(limit_key,max_limit,seconds)
if limit then
if tonumber(limit)>max_limit then
ngx.log(ngx.ERR,"[REQUEST LIMITED] " , string.format("Method: %s, currentQPS:%d, maxQPS: %d", req_uri_method, limit, max_limit))
ngx.log(ngx.ERR,"[REQUEST LIMITED] " , string.format("Method: %s, currentQPS:%d, maxQPS: %d", limit_key, limit, max_limit))
return false
else
return true
... ...
User-agent: *
Disallow: /
\ No newline at end of file
... ...