Hello!
I've started the "setby" branch in ngx_lua's repository and disabled
nginx variable interpolation in set_by_lua Lua source strings. For
example, the following example will work as expected:
location = /t {
set_by_lua $res 'return "$unknown"';
echo $res;
}
In the current "master", nginx variable interpolation is enabled here
and use of the dollar sign character ($) requires special hacks and
very inconvenient.
Comments are very welcome on the new changes in this "setby" branch:
https://github.com/chaoslawful/lua-nginx-module/tree/setby
Thanks!
-agentzh