Skip to main content

NGINX Redis Rate Limit Module: Distributed Throttling


by Danila Vershinin, March 19, 2026

Learn how to implement distributed rate limiting in NGINX using the Redis Rate Limit module. This module uses the Generic Cell Rate Algorithm (GCRA) with Redis as a backend, providing precise request throttling across multiple NGINX instances for API protection, login abuse prevention, and DDoS mitigation.

Read More...

NGINX Push Stream Module: Real-Time Pub/Sub Guide


by Danila Vershinin, March 18, 2026

Learn how to set up real-time push notifications and pub/sub messaging in NGINX using the push stream module. Supports WebSocket, EventSource (SSE), long polling, and streaming — no external message broker required.

Read More...

NGINX PostgreSQL Module: Direct Database Queries


by Danila Vershinin,

Learn how to use the NGINX PostgreSQL module (ngx_postgres) to query PostgreSQL databases directly from NGINX — without any application server. Build lightweight REST APIs, implement database-driven authentication, and eliminate middleware overhead with built-in connection pooling and SQL injection prevention.

Read More...

NGINX Perl Module: Embed Perl Scripting in Your Web Server


by Danila Vershinin, March 17, 2026

Learn how to use the NGINX Perl module to embed Perl scripts directly in your NGINX configuration. Generate dynamic content, compute variables, handle POST requests, and extend NGINX with the full power of Perl — all without a separate application server.

Read More...

NGINX OpenTelemetry Module: Distributed Tracing


by Danila Vershinin,

Learn how to add distributed tracing to NGINX with the OpenTelemetry module. This guide covers installation, configuration of all directives, sampling strategies, trace context propagation, and integration with collectors like Jaeger and Grafana Tempo.

Read More...

NGINX Lua Upstream: Dynamic Management Without Reloads


by Danila Vershinin, March 15, 2026

Learn how to dynamically manage NGINX upstreams at runtime using the Lua Upstream module. Inspect server health, toggle peers up or down, and build status dashboards — all without reloading NGINX.

Read More...

NGINX Lua Module: Programmable Web Serving Guide


by Danila Vershinin,

Learn how to extend NGINX with the Lua module for custom authentication, rate limiting, API gateways, and more. Includes installation on RHEL, CentOS, Ubuntu, and practical examples with 110+ ready-to-install Lua libraries from the GetPageSpeed repository.

Read More...

NGINX CDN Loop Detection: Prevent Request Loops


by Danila Vershinin, March 14, 2026

Learn how to prevent infinite request loops in NGINX CDN and reverse proxy configurations using the loop detect module. This module implements RFC 8586’s CDN-Loop header to track request hops and automatically block runaway loops before they consume server resources.

Read More...

NGINX HTTP/3 Is Broken After Reload — Here’s the Fix F5 Won’t Ship


by Danila Vershinin, March 13, 2026

NGINX silently drops ~50% of HTTP/3 connections after reload when quic_bpf is enabled. The bug has been known for over a year. F5 won’t fix it. nginx-mod ships the fix today.

Read More...

NGINX Limit Traffic Rate Module Guide


by Danila Vershinin, March 11, 2026

Learn how to limit total download bandwidth across multiple connections using the NGINX limit_traffic_rate module. Unlike the native limit_rate directive that applies per-connection, this module enforces a shared bandwidth limit by client IP or URL.

Read More...