2011-02-16 08:31:23 +01:00
|
|
|
ngx_openresty is full-fledged web application server by bundling the standard nginx core,
|
|
|
|
lots of 3rd-party nginx modules, as well as most of their external dependencies.
|
|
|
|
|
2011-02-16 08:32:02 +01:00
|
|
|
This bundle is maintained by us, agentzh and chaoslawful, and sponsored by
|
|
|
|
Taobao.com, Alibaba Group.
|
2011-02-16 08:31:23 +01:00
|
|
|
|
|
|
|
Because most of the nginx modules are developed by the bundle maintainers, it can ensure
|
|
|
|
that all these modules are played well together.
|
|
|
|
|
|
|
|
The bundled software components are copyrighted by the respective copyright holders.
|
|
|
|
|
2011-02-16 09:40:50 +01:00
|
|
|
To build ngx_openresty, follow the following steps
|
2011-02-16 08:31:23 +01:00
|
|
|
|
2011-02-16 09:41:49 +01:00
|
|
|
1. download the latest ngx_openresty tarball
|
2011-02-16 09:40:50 +01:00
|
|
|
listed on <http://openresty.org >,
|
|
|
|
say, ngx_openresty-0.8.54.0.tar.gz
|
2011-02-16 09:37:14 +01:00
|
|
|
|
2011-02-16 09:40:50 +01:00
|
|
|
2. and then enter the ngx_openresty-0.8.54.0/ directory,
|
|
|
|
and type the following command to configure:
|
2011-02-16 09:37:14 +01:00
|
|
|
|
2011-02-16 09:40:50 +01:00
|
|
|
./configure --prefix=/opt/ngx_openresty \
|
|
|
|
--with-http_lua_module \
|
|
|
|
--with-http_drizzle_module \
|
|
|
|
--with-http_rds_json_module
|
|
|
|
|
2011-02-16 09:41:49 +01:00
|
|
|
3. build everything locally
|
2011-02-16 09:40:50 +01:00
|
|
|
|
|
|
|
make
|
|
|
|
|
2011-02-16 09:41:49 +01:00
|
|
|
4. install ngx_openresty into the target directory that you specified by
|
2011-02-16 09:40:50 +01:00
|
|
|
the --prefix option in Step 2.
|
|
|
|
|
|
|
|
make install
|
2011-02-16 09:37:14 +01:00
|
|
|
|
|
|
|
For bundle maintainers:
|
|
|
|
|
|
|
|
The bundle's source is at the following git repository:
|
|
|
|
|
|
|
|
https://github.com/agentzh/ngx_openresty
|
|
|
|
|
|
|
|
To reproduce the bundle tarball, just do
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
at the top of the bundle source tree.
|
2011-02-16 08:31:23 +01:00
|
|
|
|
|
|
|
The bundle itself is licensed under the 2-clause BSD license.
|
|
|
|
|
|
|
|
Copyright (c) 2011, Taobao Inc., Alibaba Group (
|
|
|
|
http://www.taobao.com ).
|
|
|
|
|
|
|
|
Copyright (c) 2011, Yichun "agentzh" Zhang (章亦春)
|
|
|
|
<agentzh@gmail.com>.
|
|
|
|
|
|
|
|
Copyright (c) 2011, Xiaozhe "chaoslawful" Wang (王晓哲)
|
|
|
|
<agentzh@gmail.com>.
|
|
|
|
|
|
|
|
This module is licensed under the terms of the BSD license.
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
modification, are permitted provided that the following conditions are
|
|
|
|
met:
|
|
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
|
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
|
|
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
|
|
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
|
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|