doc: bumped version to 0.9.15; also stated that we work with nginx 1.7.10.

This commit is contained in:
Yichun Zhang (agentzh) 2015-02-18 15:29:39 -08:00
Родитель f88d4a9fb7
Коммит 4388b1e483
2 изменённых файлов: 14 добавлений и 12 удалений

Просмотреть файл

@ -57,7 +57,7 @@ Production ready.
Version
=======
This document describes ngx_lua [v0.9.14](https://github.com/openresty/lua-nginx-module/tags) released on 21 January 2015.
This document describes ngx_lua [v0.9.15](https://github.com/openresty/lua-nginx-module/tags) released on 18 February 2015.
Synopsis
========
@ -291,7 +291,7 @@ Nginx Compatibility
===================
The latest module is compatible with the following versions of Nginx:
* 1.7.x (last tested: 1.7.7)
* 1.7.x (last tested: 1.7.10)
* 1.6.x
* 1.5.x (last tested: 1.5.12)
* 1.4.x (last tested: 1.4.4)
@ -307,7 +307,7 @@ The latest module is compatible with the following versions of Nginx:
Installation
============
The [ngx_openresty bundle](http://openresty.org) can be used to install Nginx, ngx_lua, either one of the standard Lua 5.1 interpreter or LuaJIT 2.0/2.1, as well as a package of powerful companion Nginx modules. The basic installation step is a simple `./configure --with-luajit && make && make install`.
It is highly recommended to use the [ngx_openresty bundle](http://openresty.org) that bundles Nginx, ngx_lua, LuaJIT 2.0/2.1 (or the optional standard Lua 5.1 interpreter), as well as a package of powerful companion Nginx modules. The basic installation step is a simple command: `./configure --with-luajit && make && make install`.
Alternatively, ngx_lua can be manually compiled into Nginx:
@ -320,9 +320,9 @@ Build the source with this module:
```bash
wget 'http://nginx.org/download/nginx-1.7.7.tar.gz'
tar -xzvf nginx-1.7.7.tar.gz
cd nginx-1.7.7/
wget 'http://nginx.org/download/nginx-1.7.10.tar.gz'
tar -xzvf nginx-1.7.10.tar.gz
cd nginx-1.7.10/
# tell nginx's build system where to find LuaJIT 2.0:
export LUAJIT_LIB=/path/to/luajit/lib
@ -338,6 +338,7 @@ Build the source with this module:
# Here we assume Nginx is to be installed under /opt/nginx/.
./configure --prefix=/opt/nginx \
--with-ld-opt='-Wl,-rpath,/path/to/luajit-or-lua/lib" \
--add-module=/path/to/ngx_devel_kit \
--add-module=/path/to/lua-nginx-module

Просмотреть файл

@ -10,7 +10,7 @@ Production ready.
= Version =
This document describes ngx_lua [https://github.com/openresty/lua-nginx-module/tags v0.9.14] released on 21 January 2015.
This document describes ngx_lua [https://github.com/openresty/lua-nginx-module/tags v0.9.15] released on 18 February 2015.
= Synopsis =
<geshi lang="nginx">
@ -233,7 +233,7 @@ The Lua state (Lua VM instance) is shared across all the requests handled by a s
= Nginx Compatibility =
The latest module is compatible with the following versions of Nginx:
* 1.7.x (last tested: 1.7.7)
* 1.7.x (last tested: 1.7.10)
* 1.6.x
* 1.5.x (last tested: 1.5.12)
* 1.4.x (last tested: 1.4.4)
@ -246,7 +246,7 @@ The latest module is compatible with the following versions of Nginx:
= Installation =
The [http://openresty.org ngx_openresty bundle] can be used to install Nginx, ngx_lua, either one of the standard Lua 5.1 interpreter or LuaJIT 2.0/2.1, as well as a package of powerful companion Nginx modules. The basic installation step is a simple <code>./configure --with-luajit && make && make install</code>.
It is highly recommended to use the [http://openresty.org ngx_openresty bundle] that bundles Nginx, ngx_lua, LuaJIT 2.0/2.1 (or the optional standard Lua 5.1 interpreter), as well as a package of powerful companion Nginx modules. The basic installation step is a simple command: <code>./configure --with-luajit && make && make install</code>.
Alternatively, ngx_lua can be manually compiled into Nginx:
@ -258,9 +258,9 @@ Alternatively, ngx_lua can be manually compiled into Nginx:
Build the source with this module:
<geshi lang="bash">
wget 'http://nginx.org/download/nginx-1.7.7.tar.gz'
tar -xzvf nginx-1.7.7.tar.gz
cd nginx-1.7.7/
wget 'http://nginx.org/download/nginx-1.7.10.tar.gz'
tar -xzvf nginx-1.7.10.tar.gz
cd nginx-1.7.10/
# tell nginx's build system where to find LuaJIT 2.0:
export LUAJIT_LIB=/path/to/luajit/lib
@ -276,6 +276,7 @@ Build the source with this module:
# Here we assume Nginx is to be installed under /opt/nginx/.
./configure --prefix=/opt/nginx \
--with-ld-opt='-Wl,-rpath,/path/to/luajit-or-lua/lib" \
--add-module=/path/to/ngx_devel_kit \
--add-module=/path/to/lua-nginx-module