OpenResty
Name
OpenResty – Turning Nginx into a Full-Fledged Scriptable Web Platform
Table of Contents
Description
OpenResty is a 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.
This bundle is maintained by Yichun Zhang (agentzh).
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.
The homepage for this project is on openresty.org.
For Users
Visit the download page on the openresty.org
web site to download the latest bundle tarball, and follow the installation instructions in the installation page.
For Bundle Maintainers
The bundle’s source is at the following git repository:
https://github.com/openresty/openresty
To reproduce the bundle tarball, just do
at the top of the bundle source tree.
Please note that you may need to install some extra dependencies, like perl
, dos2unix
, and mercurial
. On Fedora 22, for example, installing the dependencies is as simple as running the following commands:
Additional Features
In additional to the standard nginx core features, this bundle also supports the following:
resolv.conf parsing
syntax: resolver address … [valid=time] [ipv6=on|off] [local=on|off|path]
default: –
context: http, stream, server, location
Similar to the resolver
directive in standard nginx core with additional support for parsing additional resolvers from the resolv.conf
file format.
When local=on
, the standard path of /etc/resolv.conf
will be used. You may also specify arbitrary path to be used for parsing, for example: local=/tmp/test.conf
.
When local=off
, parsing will be disabled (this is the default).
This feature is not available on Windows platforms.
Mailing List
You’re very welcome to join the English OpenResty mailing list hosted on Google Groups:
https://groups.google.com/group/openresty-en
The Chinese mailing list is here:
https://groups.google.com/group/openresty
Report Bugs
You’re very welcome to report issues on GitHub:
https://github.com/openresty/openresty/issues
Git地址:https://github.com/openresty/openresty.git
Doc:http://openresty.org/cn/