Skip to main content

NGINX substitutions filter module: Complete Guide


by Danila Vershinin, February 12, 2026

Learn how to use the nginx substitutions filter module for powerful response body transformations. This comprehensive guide covers all directives, regex patterns, practical examples, and important caveats for domain migrations, link rewriting, and content injection.

Read More...

NGINX JavaScript (njs): Add Scripting to NGINX


by Danila Vershinin, February 11, 2026

Learn how to extend NGINX with JavaScript using the njs module. This comprehensive guide covers installation, configuration, and 11 practical examples including custom handlers, authentication, subrequests, shared dictionaries, and the Fetch API.

Read More...

NGINX Echo Module: Shell-Style Scripting in Your Config


by Danila Vershinin, February 10, 2026

Learn how to use the NGINX echo module for debugging, testing, and building lightweight endpoints. Complete guide with installation, all 19 directives, 10 variables, practical examples, and security best practices.

Read More...

NGINX Untar Module: Serve Files Directly from Tar Archives


by Danila Vershinin, February 9, 2026

Learn how to use the NGINX untar module to serve static files directly from tar archives without extraction. This zero-copy module indexes archives and streams files efficiently using sendfile.

Read More...

NGINX Link Function Module: Embed C/C++ in NGINX


by Danila Vershinin,

Learn how to use the NGINX link function module to embed custom C/C++ application logic directly into NGINX. Build high-performance APIs, authentication handlers, and dynamic content generators without a separate application server.

Read More...

NGINX Keyval Module: Dynamic Key-Value Store Inside NGINX


by Danila Vershinin,

Learn how to use the NGINX keyval module to create a dynamic key-value store directly inside NGINX. Build feature flags, IP blocklists, maintenance mode toggles, A/B testing, and canary deployments — all without restarting NGINX or adding backend services.

Read More...

NGINX max_headers: Prevent Header-Flooding DoS


by Danila Vershinin, February 8, 2026

Learn how to use the max_headers directive in nginx-mod to limit the number of HTTP request headers and protect your server from header-flooding DoS attacks. Includes installation, configuration, and testing on RHEL-based systems.

Read More...

NGINX Digest Authentication: More Secure Than Basic Auth


by Danila Vershinin, February 7, 2026

Learn how to configure NGINX digest authentication using the ngx_http_auth_digest module. This guide covers installation, htdigest password files, brute-force protection, shared memory tuning, and when to choose digest auth over basic auth for securing your NGINX locations.

Read More...

NGINX Redis2 Module: Talk to Redis Directly from NGINX


by Danila Vershinin,

Learn how to use the NGINX redis2 module to communicate with Redis directly from NGINX. This module implements the Redis 2.0 protocol with support for pipelining, keepalive connections, and all Redis commands. Install it easily on CentOS, RHEL, Rocky Linux, Debian, and Ubuntu via GetPageSpeed repository.

Read More...

NGINX Sysguard: Automatic Protection Against Server Overload


by Danila Vershinin,

Learn how to protect your NGINX server from overload using the sysguard module. Configure load-based request rejection, memory protection, and response time monitoring for graceful degradation under pressure.

Read More...