Skip to main content

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 JSON Var Module: Build Safe JSON Variables


by Danila Vershinin,

The NGINX JSON Var module lets you compose NGINX variables into properly escaped JSON objects. Use them in responses, access logs, proxy headers, and more — anywhere NGINX variables work. A cleaner, safer alternative to hand-crafted JSON strings in your configuration.

Read More...

NGINX JSON Module: Parse and Extract JSON Data


by Danila Vershinin, March 9, 2026

Learn how to parse, extract, and manipulate JSON data directly in your NGINX configuration using the nginx-module-json dynamic module. This lightweight module adds json_loads and json_dumps directives, enabling JSON field extraction from headers, variables, and upstream responses without scripting.

Read More...

NGINX ipscrub Module: Anonymize IP Addresses in Logs


by Danila Vershinin,

Learn how to anonymize IP addresses in NGINX access logs using the ipscrub module. This privacy-focused module replaces real IPs with cryptographic hashes, helping you achieve GDPR compliance while retaining the ability to correlate requests from the same visitor.

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 iconv Module: Character Encoding Conversion


by Danila Vershinin,

Learn how to use the NGINX iconv module to convert character encodings directly at the web server level. This guide covers installation, configuration of set_iconv and iconv_filter directives, and practical examples for serving content in different encodings like GBK, Shift_JIS, and ISO-8859-1.

Read More...

NGINX HTML Sanitize Module: Strip Dangerous HTML at the Edge


by Danila Vershinin, March 7, 2026

Learn how to sanitize HTML content at the NGINX level using the ngx_http_html_sanitize_module. This module uses Google’s gumbo-parser for HTML5 parsing and katana-parser for CSS, allowing you to strip dangerous elements, attributes, and styles before they reach your application.

Read More...

NGINX Graphite Module: Send Server Metrics to Graphite


by Danila Vershinin,

Learn how to send NGINX metrics directly to Graphite with the NGINX Graphite module. Collect per-location request rates, response times, status codes, and percentiles — all aggregated in shared memory and transmitted over UDP or TCP without blocking request processing.

Read More...