attempt to index upvalue 'shell' (a userdata value)
dockss-911 opened this issue · 1 comments
dockss-911 commented
local shell = require "resty.shell"
ngx.req.read_body()
local args = ngx.req.get_post_args()
shell.run("/bin/echo", args.name)
dockss-911 commented
nginx version is 1.19.4 ,the same code can run on nginx 1.17.7