rubyist1982

Results 3 comments of rubyist1982

> ``` > -- sub.lua > local res = ngx.location.capture("/sub") > ngx.say(res.body) > ngx.say("main") > ``` > > It it a typo? ngx.say("main") should be ngx.say("sub") sorry for paste error....

> Do you still have doubts? you also remove the ngx.capture from sub.lua, is that expected? > > ``` > -- sub.lua > ngx.say("sub") > ``` yes it is just...

上数方法不行啊,启动nginx 报告段错误