Update init.lua
parent
7ebb37d4f8
commit
9926cb5991
1
init.lua
1
init.lua
|
@ -94,6 +94,7 @@ end
|
||||||
--------------------------------------响应函数--------------------------------------------------------------------------------
|
--------------------------------------响应函数--------------------------------------------------------------------------------
|
||||||
function check()
|
function check()
|
||||||
ngx.header.content_type = "text/html"
|
ngx.header.content_type = "text/html"
|
||||||
|
ngx.sleep(3)
|
||||||
ngx.print("just a joke hehe~ !!")
|
ngx.print("just a joke hehe~ !!")
|
||||||
ngx.exit(200)
|
ngx.exit(200)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue