ngx_lua v0.1.1: access_by_lua and access_by_lua_file landed已关闭评论
After the first public release of ngx_lua, I’m proud to annouce the v0.1.1 version, which has introduced the access_by_lua and access_by_lua_file directives:
https://github.com/chaoslawful/lua-nginx-module/downloads
Now we can code up our own nginx access-phase handlers directly in pure Lua, with all the capabilities with rewrite_by_lua and content_by_lua, like firing up subrequests to other locations, reading/writing nginx variables, changing response headers, inter...
access_by_lua, ngx_lua阅读全文