Update init.lua

pull/13/head
loveshell 2013-08-03 00:22:37 +08:00
parent 9926cb5991
commit 29267170a4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ end
--------------------------------------响应函数-------------------------------------------------------------------------------- --------------------------------------响应函数--------------------------------------------------------------------------------
function check() function check()
ngx.header.content_type = "text/html" ngx.header.content_type = "text/html"
ngx.sleep(3) ngx.sleep(5)
ngx.print("just a joke hehe~ !!") ngx.print("just a joke hehe~ !!")
ngx.exit(200) ngx.exit(200)
end end