Tengine is a web server and reverse proxy based on nginx, with HTTP/3, Kubernetes Ingress, health checks, and zero-downtime configuration reloads. It stays compatible with nginx setups.
Overview
Tengine is a web server and reverse proxy built on nginx for high-traffic sites. It inherits nginx capabilities while adding HTTP/3 and QUIC, Kubernetes Ingress support, active upstream health checks for HTTP and stream upstreams, and dynamic configuration changes without worker restarts.
Routing and TLS can be adjusted at runtime: headers, cookies, query parameters, and weights can steer traffic, and TLS versions, timeouts, HTTPS redirects, CORS, and robots rules can change without reloads. It supports the CONNECT method for forward proxy use, NTLS and TLCP with SM2/SM3/SM4, Lua scripting, consistent hashing and session persistence for load balancing, and optional hardware-assisted TLS.
Operational extras include asynchronous logging and rollback, DNS caching, memory monitoring, zstd compression, fine-grained timing variables, upstream retry limits, and protections when system load or memory use grows too high. Configuration remains largely compatible with nginx, so existing nginx directives and modules often transfer directly.
You can run Tengine from multi-arch container images, distribution packages for common Linux flavors, or a source install with default paths under /usr/local/tengine. Container images ship with Tongsuo, xquic, and Lua when using the published release builds.
Key features
- 100% nginx configuration compatibility
- HTTP/3 and QUIC support
- Kubernetes Ingress support
- Zero-downtime dynamic configuration
- Active HTTP and stream health checks
- Lua scripting extensions
- NTLS and TLCP (SM2/SM3/SM4)
- Advanced load balancing methods
Use cases
- High-traffic website front door
- Reverse proxy and load balancer
- Kubernetes ingress controller
- Forward HTTP proxy via CONNECT
- TLS termination with dynamic certificates
Does the same job as
Tengine doesn't name these products itself, but its own description shows it does the same job.