Hi, not sure if I'm doing this the right way round but getting this error:
[error] 11346#0: *1 content_by_lua aborted: runtime error: [string "access_by_lua"]:22: attempt to call ngx.exit after sending out the headers while sending to client
On the lua code:
elseif (res.status == ngx.HTTP_OK) then
ngx.print(res.body)
ngx.exit(res.status)
I'm sure it's something simple im doing wrong?
Thanks
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx