On Sun, Jan 2, 2011 at 12:49 AM, Sirsiwal, Umesh <usirsiwal@verivue.com> wrote:
> I agree Lua makes it a lot flexible and the cost of Lua is rather small. To achieve rewrite I am using content_by_lua once the rewrite is complete, I just do ngx.exec to other locations. Gives me in effect as eval module.
>
*nod*
That's exactly what we're doing in production at the moment ;)
> On auth side, at present I use ngx_auth_request and use content_by_lua to serve the request. So yes, that will be very useful.
>
Same here ;)
When access_by_lua_file is ready, we can eliminate a subrequest call
in this context, thus reducing overhead.
Happy lua hacking!
-agentzh
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel