openresty入門示例

openresty=LuaJit+nginx openresty本質上還是nginx,只不過使用lua對其進行了擴展。 安裝好openresty後,就可以在nginx上跑lua腳本了-- vi nginx.conf:   重新加載一下openresty: 瀏覽器訪問: 將lua腳本寫到腳本文件中: 查看錯誤日誌: cd nginx-->mkdir lua_script-->vi test.lua:
相關文章
相關標籤/搜索