> Thanks so much for your detailed answer. Works like a charm :)
> But i see i can't access this from LUA?
> but is it possible to get
> directly in nginx LUA?
It indeed can be ported from ngx_echo to ngx_lua. Patches welcome :)
For now you can just read your disk files directly from within Lua. See
It may be less efficient, depending on the size of your disk files.
But generally, it can not be too slow.
No request body hassle is really needed here, I think ;)