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.
 
 
 
 
 
 
Bobo c722791057
fix http3 ssl_handshake_time variable (#2001)
2 months ago
.github Set pip size function only on linux (#1994) 2 months ago
auto Set pip size function only on linux (#1994) 2 months ago
conf Update to nginx 1.22.1 (#1719) 3 years ago
contrib Updated core file to Nginx-1.18.0. 4 years ago
docs iwrr: a wrr with always O(1) time and O(n) memory (#1729) 2 years ago
html updated to nginx 1.15.9 7 years ago
man Update some file for release 2.3.1 version 6 years ago
modules fix http3 ssl_handshake_time variable (#2001) 2 months ago
packages/debian Merge pull request #964 from PeterDaveHello/bump-debian-package-version 8 years ago
src add change pipe size command 9 months ago
tests Set pip size function only on linux (#1994) 2 months ago
.gitignore add tags in ignore 7 years ago
AUTHORS.te Update some files for release tengine-2.3.3. 4 years ago
CHANGES Changes: update change list of nginx-core v1.24.0 2 years ago
CHANGES.cn Readme: release 3.1.0 2 years ago
CHANGES.te Readme: release 3.1.0 2 years ago
LICENSE Release 2.4.0 version. (#1733) 3 years ago
README.markdown Readme: dynamically configure HTTP routing based on modulo operation for a specific header, cookie or query parameter with tengine-ingress 2 years ago
THANKS.te review url:http://rb.corp.taobao.com/r/25219/ 14 years ago
configure Sync configure file from nginx-1.15.1. 7 years ago

README.markdown


Tengine

Visit tengine.taobao.org for the full documentation, examples and guides.

GitHub license GitHub stars GitHub stars Build Status

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.24.0 are inherited, i.e., it is 100% compatible with nginx.
  • Dynamically configure the servers, locations and upstreams without reloading or restarting worker processes with tengine-ingress.
  • HTTP/3 support (QUIC v1 and draft-29) with xquic.
  • High-speed UDP transmission with kernel-bypass.
  • Dynamically configure different TLS protocols for different server names with tengine-ingress.
  • Dynamically configure timeout setting, SSL Redirects, CORS and enabling/disabling robots for the server and location with tengine-ingress.
  • Dynamically configure HTTP routing based on multiple values of a specific header, cookie or query parameter with tengine-ingress.
  • Dynamically configure HTTP routing based on multiple upstream according to weight with tengine-ingress.
  • Dynamically configure HTTP routing based on modulo operation for a specific header, cookie or query parameter with tengine-ingress.
  • Dynamically configure HTTP routing to add/append custom header or add query parameter in the HTTP request to the upstream with tengine-ingress.
  • Dynamically configure HTTP routing to add custom header in the HTTP response to the client with tengine-ingress.
  • 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.
  • Receives HTTP traffic on the TLS listener with option.
  • Debugging HTTP connection usage.
  • ...

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
sudo 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.

Contact

https://github.com/alibaba/tengine/issues

Dingtalk user group: 23394285

License

BSD-2-Clause License

Tengine