Skip to main content

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 Pipelog Module: Send Access Logs to External Programs


by Danila Vershinin, February 10, 2026

Learn how to use the NGINX pipelog module to send access logs to external programs via Unix pipes. Enable real-time log processing, syslog integration, and custom log aggregation without disk I/O overhead.

Read More...

NGINX Echo Module: Shell-Style Scripting in Your Config


by Danila Vershinin,

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 Cookie Flag Module: Set HttpOnly, Secure, and SameSite


by Danila Vershinin, February 6, 2026

Learn how to enforce HttpOnly, Secure, and SameSite cookie flags in NGINX using the cookie flag module. Step-by-step installation, configuration examples, and security best practices for protecting session cookies at the reverse proxy layer.

Read More...

NGINX DNS over HTTPS: Run Your Own DoH Server


by Danila Vershinin, February 1, 2026

Learn how to deploy a privacy-compliant DNS over HTTPS (DoH) server using NGINX. This guide covers installation, configuration, and security best practices for running your own RFC 8484 compliant DoH endpoint.

Read More...

NGINX JPEG Filter Module: Watermarks On-the-Fly


by Danila Vershinin, November 10, 2018

Install and configure the NGINX JPEG filter module to add watermarks, logos, and visual effects to JPEG images on-the-fly. This module operates in the DCT domain for lossless overlay operations, making it ideal for dynamic image branding on photography sites, e-commerce platforms, and content delivery systems.

Read More...