最近經常使用春哥和小哲老師寫的NGINX-LUA,非常苦於沒有中文文檔,特別是向我這種英文水平實在有限的同學,所以將遇到的模塊記錄下來,供以后參考!原文:http://wiki.nginx.org/HttpLuaModule lua_code_cache 一般放在nginx.conf里面,設置 ...
現在我已經將翻譯的內容放到:http: wiki.nginx.org HttpLuaModuleZh Nginx API for Lua Introduction 各種各樣的 by lua和 by lua file配置文件服務在都在nginx.conf文件內。這些LUA API只能運行在這些配置文件里面。 這個API有兩個標准的包NGX和NDK。這個包在ngx lua內默認的包。 這個軟件包可以這 ...
2013-07-25 17:00 0 2947 推薦指數:
最近經常使用春哥和小哲老師寫的NGINX-LUA,非常苦於沒有中文文檔,特別是向我這種英文水平實在有限的同學,所以將遇到的模塊記錄下來,供以后參考!原文:http://wiki.nginx.org/HttpLuaModule lua_code_cache 一般放在nginx.conf里面,設置 ...
Nginx Lua模塊指令 Nginx共11個處理階段,而相應的處理階段是可以做插入式處理,即可插拔式架構;另外指令可以在http、server、server if、location、location if幾個范圍進行配置: 指令 所處處理階段 ...
已經更新到官方文檔:http://wiki.nginx.org/HttpLuaModule# ngx.location.capture 語法: res = ngx.location.capture(uri, options?) 環境: rewrite_by_lua ...
源碼地址:https://github.com/Tinywan/Lua-Nginx-Redis 一、介紹 各種* _by_lua,* _by_lua_block和* _by_lua_file配置指令用作nginx.conf文件中Lua API的網關。 下面描述的Nginx Lua API ...
今天安裝lua試試,這個從開始裝的,發現一篇文字,字數雖少,但是卻講的很清楚。如下: 最先將Nginx,Lua組合到一起的是OpenResty,它有一個ngx_lua模塊,將Lua嵌入到了Nginx里面;隨后Tengine也包含了ngx_lua模塊。至於二者的區別:OpenResty是Nginx ...
API Session作用:應用於已存在的會話(Sessions) 目錄瀏覽: API Sessions session:answer session:answered session:bridged session ...
ngx.re.match 語法: captures, err = ngx.re.match(subject, regex, options?, ctx?, res_table?) 環境: init_worker_by_lua*, set_by_lua*, rewrite_by_lua ...
gridstack.js API Table of Contents generated with DocToc Options 配置 Grid attributes 網格屬性 Item attributes 元素屬性 Events 事件 added(event ...