Skip to content
A distribution of Nginx with some advanced features
C Perl Other C++ Vim script Lua Other
Branch: master
Clone or download

Latest commit

Latest commit d02d424 Dec 16, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates: add Feature-request Apr 26, 2019
auto Change: merge Nginx update to 1.16.0 Jun 17, 2019
conf add dubbo quick start Aug 15, 2019
contrib updated to nginx 1.15.9: Feb 27, 2019
docs fix some for dubbo dynamic module Sep 3, 2019
html updated to nginx 1.15.9 Feb 27, 2019
man Update some file for release 2.3.1 version Jun 18, 2019
modules Delete unused variable Dec 11, 2019
packages/debian Merge pull request #964 from PeterDaveHello/bump-debian-package-version Nov 27, 2017
src Merge pull request #1351 from wangfakang/master Aug 20, 2019
tests Bugfix: maybe caused traffic uneven when some peers are unavailable. Aug 21, 2019
.gitignore add tags in ignore Apr 23, 2018
.travis.yml Set -j2 for make in Travis CI to speed up build Dec 2, 2016
AUTHORS.te added copyright of Sogou, Inc. Jul 25, 2012
CHANGES Modify some files for release 2.3.2 version. Aug 20, 2019 Modify some files for release 2.3.2 version. Aug 20, 2019
CHANGES.te Modify some files for release 2.3.2 version. Aug 20, 2019
LICENSE updated to nginx 1.15.9 Feb 27, 2019
README.markdown Updated core file to Nginx-1.17.3. Aug 15, 2019
THANKS.te review url: Mar 19, 2012
configure Sync configure file from nginx-1.15.1. Dec 23, 2018


Introduction Build Status

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 and

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.


  • All features of nginx-1.17.3 are inherited, i.e., it is 100% compatible with nginx.
  • Support the CONNECT HTTP method for forward proxy.
  • Support asynchronous OpenSSL, using hardware such as QAT for HTTPS acceleration.
  • Enhanced operations monitoring, such as asynchronous log & rollback, DNS caching, memory usage, etc.
  • Support server_name in Stream module.
  • 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.
  • 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'.
  • ...


Tengine can be downloaded at You can also checkout the latest source code from GitHub at

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.


The homepage of Tengine is at You can access for more information.


You can’t perform that action at this time.