nginx and lua

安装指南:

http://wiki.nginx.org/HttpLuaModule 

 

注意事项:

  1. nginx 与 lua_module的兼容性
  2. 如果要使用ffi的话,需要使用luajit (安装指南中有说明)

我的安装:

  1. nginx: http://nginx.org/download/nginx-1.6.2.tar.gz   (from: http://nginx.org/en/download.html )
  2. lua_nginx_module: https://github.com/openresty/lua-nginx-module/archive/v0.9.12.zip    (from:  https://github.com/openresty/lua-nginx-module/releases )
  3. ngx_devel_kit: https://github.com/simpl/ngx_devel_kit/archive/v0.2.19.zip ( from: https://github.com/simpl/ngx_devel_kit )
  4. 编译nginx时有一个的pcre依赖: http://sourceforge.net/projects/pcre/?source=typ_redirect
  5. 命令:

     

 

 

其他:

  1. http://openresty.org/

留下评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据