ngx-lua相关命令

---------nginx文件---------
lua_code_cache off;
content_by_lua_file /usr/local/openresty/lualib/project/grays/grays.lua;

------------lua文件-----------------
ngx.header.content_type="text/plain";
ngx.say ("hello");
ngx.exit(200);

原文地址:https://www.cnblogs.com/xivzhou/p/14453872.html