Skip to main content

NGINX Dynamic Upstream: Consul & etcd Upsync Guide


by Danila Vershinin, April 2, 2026

Learn how to dynamically manage NGINX upstream servers using Consul and etcd with the upsync module. Add, remove, and reconfigure backend servers without reloading NGINX. Includes comparison with native NGINX resolve, NGINX Plus API, and Angie alternatives.

Read More...

NGINX Fair Load Balancing Without NGINX Plus


by Danila Vershinin, April 1, 2026

Learn how to configure NGINX fair load balancing to route traffic to the least busy backend server. An open-source alternative to the NGINX Plus least_time directive, the fair module tracks active requests across all worker processes for intelligent traffic distribution.

Read More...

NGINX Stream Monitoring with the Stream STS Module


by Danila Vershinin, March 27, 2026

Learn how to monitor NGINX stream (TCP/UDP) traffic with the Stream Server Traffic Status module. Get real-time connection metrics, upstream health data, and Prometheus-compatible output for your TCP/UDP load balancers and proxies.

Read More...

NGINX PostgreSQL Module: Direct Database Queries


by Danila Vershinin, March 18, 2026

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 Lua Module: Programmable Web Serving Guide


by Danila Vershinin, March 15, 2026

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

NGINX Let Module: Arithmetic and Hashing in Config


by Danila Vershinin,

The NGINX let module adds inline arithmetic, string concatenation, bitwise operations, and cryptographic hashing directly to your NGINX configuration. Learn how to install, configure, and use the let directive to compute variables on the fly — without Lua or external scripting.

Read More...

NGINX Internal Redirect Module: Install and Configure


by Danila Vershinin, March 8, 2026

The NGINX internal redirect module performs server-side URI rewrites in the preaccess, access, precontent, or content phases — after variables from map, geo, and auth modules are already resolved. Unlike the built-in rewrite directive, it gives you regex-based conditional routing that runs later in the request lifecycle, with support for named locations, external redirect status codes, and per-rule conditions.

Read More...

NGINX Reverse Proxy Ollama: Host Your Own Free LLM


by Danila Vershinin, February 25, 2026

Run your own ChatGPT alternative for free with Ollama or vLLM behind NGINX. This guide covers streaming-safe proxy configuration, authentication, rate limiting, and SELinux fixes for RHEL — all tested with real inference.

Read More...

NGINX Query String Normalization with sorted-args Module


by Danila Vershinin, February 17, 2026

Improve NGINX cache hit rates by normalizing query string parameter order. The sorted-args module eliminates cache fragmentation caused by tracking codes, parameter reordering, and cache-busting parameters.

Read More...