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);

posted on 2021-02-26 20:23  木林coder  阅读(58)  评论(0编辑  收藏  举报

导航