Tengine是由淘宝网发起的Web服务器项目。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nanfenglei22 1a6238dbb3 Merge pull request #827 from chobits/master 9 years ago
auto merged 1.8.1: enable --with-threads option 9 years ago
conf merged changes between nginx 1.4.7 and 1.6.1 except spdy 11 years ago
contrib Merge pull request #513 from soarpenguin/master 11 years ago
docs/modules document: add "remove SPDY" info 9 years ago
html Tengined html/50x.html 13 years ago
man merge changes between nginx 1.2.6 and nginx 1.2.7 13 years ago
modules HTTP/2: porting from nginx, SPDY removed 10 years ago
packages/debian HTTP/2: porting from nginx, SPDY removed 10 years ago
src Fixed config parsing of the last try_files parameter. 9 years ago
tests tests: make dynamic_resolver.t support ipv6 9 years ago
.gitignore add .gitignore 13 years ago
.travis.yml HTTP/2: porting from nginx, SPDY removed 10 years ago
AUTHORS.te added copyright of Sogou, Inc. 13 years ago
CHANGES merged change between nginx 1.6.2 and 1.6.1 11 years ago
CHANGES.cn updated CHANGES.* for tengine-2.2.0 9 years ago
CHANGES.ru merged change between nginx 1.6.2 and 1.6.1 11 years ago
CHANGES.te updated CHANGES.* for tengine-2.2.0 9 years ago
LICENSE Tengine-2.1.1 10 years ago
README update README for Tengine-2.2.0 9 years ago
README.markdown update README for Tengine-2.2.0 9 years ago
THANKS.te review url:http://rb.corp.taobao.com/r/25219/ 14 years ago
configure merged 1.8.1: enable --with-threads option 9 years ago

README


Introduction
------------
Tengine is a web server originated by Taobao, the largest e-commerce website in Asia. It is based on the Nginx HTTP server and has many advanced features. Tengine has proven to be very stable and efficient on some of the top 100 websites in the world, including taobao.com and tmall.com.

Tengine has been an open source project since December 2011. It is being actively developed by the Tengine team, whose core members are from Taobao, Sogou and other Internet companies. Tengine is a community effort and everyone is encouraged to get involved.


Features
--------
* All features of nginx-1.8.1 are inherited, i.e., it is 100% compatible with nginx.
* Dynamic module loading support. You don't need to recompile Tengine when adding new modules to it.
* HTTP/2 support. The ngx_http_v2_module supersedes the ngx_http_spdy_module module.
* Sends unbuffered upload directly to HTTP and FastCGI backend servers, which saves disk I/Os.
* More load balancing methods, e.g., consistent hashing, and session persistence.
* Input body filter support. It's quite handy to write Web Application Firewalls using this mechanism.
* Dynamic scripting language (Lua) support, which is very efficient and makes it easy to extend core functionalities.
* Logging enhancements. Syslog (local and remote), pipe logging, and log sampling are supported.
* Limits retries for upstream servers (proxy, memcached, fastcgi, scgi, uwsgi).
* Includes a mechanism to support standalone processes.
* Protects the server in case system load or memory use goes too high.
* Multiple CSS or JavaScript requests can be combined into one request to reduce download time.
* Removes unnecessary white spaces and comments to reduce the size of a page.
* Proactive health checks of upstream servers can be performed.
* The number of worker processes and CPU affinities can be set automatically.
* The limit_req module is enhanced with whitelist support and more conditions are allowed in a single location.
* Enhanced diagnostic information makes it easier to troubleshoot errors.
* More user-friendly command lines, e.g., showing all compiled-in modules and supported directives.
* Expiration times can be specified for certain MIME types.
* Error pages can be reset to 'default'.
* ...


Installation
------------
Tengine can be downloaded at http://tengine.taobao.org/download/tengine.tar.gz . You can also checkout the latest source code from GitHub at https://github.com/alibaba/tengine

To install Tengine, just follow these three steps:
$ ./configure
$ make
# make install

By default, it will be installed to /usr/local/nginx. You can use the '--prefix' option to specify the root directory.
If you want to know all the 'configure' options, you should run './configure --help' for help.


Documentation
-------------
The homepage of Tengine is at http://tengine.taobao.org
You can access http://tengine.taobao.org/documentation.html for more information.


Mailing lists
-------------
Mailing lists are usually good places to ask questions. We highly recommend you subscribe to Tengine's mailing lists below:
http://code.taobao.org/mailman/listinfo/tengine (English)
http://code.taobao.org/mailman/listinfo/tengine-cn (Chinese)