最近经常使用春哥和小哲老师写的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 ...