openresty入门示例

openresty=LuaJit+nginx openresty本质上还是nginx,只不过使用lua对其进行了扩展。 安装好openresty后,就可以在nginx上跑lua脚本了-- vi nginx.conf:   重新加载一下openresty: 浏览器访问: 将lua脚本写到脚本文件中: 查看错误日志: cd nginx-->mkdir lua_script-->vi test.lua:
相关文章
相关标签/搜索