NGINX
Browse all articles, tutorials, and guides about NGINX
Posts
API Gateway or Load Balancer? What Each Gateway Feature Costs, Measured
We put the same backend behind nginx, Kong and Tyk, turned on TLS, API keys, a rate limit and a header rewrite one at a time, and measured the latency and CPU each one added. nginx did all four for almost nothing. Kong spent most of its extra CPU on one line of its rate limiter, and the same 10 requests per second meant three different things.
nginx2root: Five nginx CVEs, One Pre-Auth Path to Root, and How to Tell If Your Config Is Exposed
On 18 November 2026, Xint disclosed five unauthenticated nginx CVEs it calls nginx2root. One of them, CVE-2026-123007, only needs HTTP/2 to be enabled. Here is which of the five apply to your config, the fixed versions per channel, a read-only check script, how to upgrade without dropping connections, and the mitigations to use tonight if you cannot patch yet.
Cloudflare Freed 100 TB of RAM From Its Hash Rings. Your Proxy May Have the Opposite Problem
Cloudflare got back 100 TB of RAM partly by cutting 90% of the points on its consistent hash rings. We measured the other end of the same curve: a million keys through nginx and HAProxy to 100 backends, and Envoy rebuilt from its source. The busiest server ranged from 1.05x to 2x its fair share, and the points per server explained most of it.
Designing Rate Limiting for APIs: Algorithms, Patterns, and Implementation
A practical comparison of token bucket, leaky bucket, fixed window, and sliding window rate limiting, with copy-paste Redis and FastAPI code, nginx config, and guidance on which one to actually use.
NGINX Rift (CVE-2026-42945): The 18-Year-Old Rewrite Bug That Hands an Attacker Your Worker Process
An autonomous code-audit tool found an 18-year-old heap overflow in NGINX's rewrite module. Affects every release from 0.6.27 through 1.30.0, plus NGINX Plus and the entire F5 product line. Full RCE PoC is public. Here is the one-line config grep that tells you whether you are exposed, the patch matrix, and what to do about the long tail of products that bundle the vulnerable nginx without a vendor patch yet.