Skip to main content

NGINX Compression Vary: Fix Broken Vary Headers


by Danila Vershinin, March 2, 2026

The NGINX compression_vary module replaces the standard gzip_vary directive with smarter Vary header handling. It merges multiple Vary headers into one, removes duplicates, and properly appends Accept-Encoding — preventing CDN cache fragmentation and improving caching efficiency across gzip, Brotli, and Zstandard compression.

Read More...

Accept-Encoding Normalization in NGINX for Better Caching


by Danila Vershinin, March 1, 2026

Learn how to normalize Accept-Encoding headers in NGINX to prevent cache variant explosion. The compression-normalize module standardizes client compression preferences, dramatically improving proxy cache hit rates when using Vary: Accept-Encoding.

Read More...

NGINX Combined Upstreams: Failover & Sticky Sessions


by Danila Vershinin,

Learn how to merge upstream server pools, implement cookie-based sticky sessions, build multi-cluster failover chains, and broadcast requests across backends using the NGINX Combined Upstreams module. Covers all directives, upstrand configuration, and status variables.

Read More...

NGINX Captcha Module: Server-Side CAPTCHA Guide


by Danila Vershinin, February 28, 2026

Learn how to generate and validate CAPTCHA images directly in NGINX without relying on external services like reCAPTCHA. The NGINX captcha module creates server-side CAPTCHA challenges using the GD graphics library, keeping your authentication flows fast, private, and dependency-free.

Read More...

NGINX Active Health Checks Without NGINX Plus


by Danila Vershinin,

Set up NGINX active health checks that proactively monitor upstream servers with HTTP, TCP, MySQL, FastCGI, SSL, and AJP probes. Included in NGINX-MOD — no NGINX Plus subscription required.

Read More...

NGINX Dynamic Upstream: Add & Remove Servers Live


by Danila Vershinin, February 27, 2026

Learn how to dynamically add, remove, and modify NGINX upstream servers at runtime using a REST API — no reload required. NGINX-MOD brings this NGINX Plus feature to open-source NGINX for a fraction of the cost.

Read More...

NGINX AWS S3 Proxy: Secure Module Guide


by Danila Vershinin, February 26, 2026

Learn how to use the NGINX AWS auth module to securely proxy requests to Amazon S3 without exposing IAM secret keys on your server. This guide covers installation, configuration, signing key rotation, and security best practices for the ngx_aws_auth module.

Read More...

NGINX Auth Hash Module: Secure URL Authentication


by Danila Vershinin,

Learn how to protect files and content with the NGINX auth hash module. This module brings SHA-256, SHA-512, BLAKE2, and other modern hash algorithms to NGINX secure URL authentication, replacing the MD5-only limitation of the built-in secure_link module.

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 Array Variables: Split, Map, and Join Data


by Danila Vershinin,

Learn how to use the NGINX array variables module to split, map, and join data directly in your NGINX configuration. This module adds array-typed variables for powerful list processing, SQL query building, and dynamic data transformation without external scripting.

Read More...