Skip to main content

nginx modules

Practical nginx modules guides from the GetPageSpeed engineering team: configuration, performance tuning and security for production Linux servers.

80 articles

NGINX

NGINX RADIUS Authentication: No More htpasswd Files

Stock NGINX cannot talk to RADIUS. The nginx-module-auth-radius package adds RFC 2865 authentication with multi-server failover, verified end to end against FreeRADIUS, including the…

NGINX

NGINX Variables: Scope, Handlers, and Common Pitfalls

How NGINX variables really work: per-request containers, get handlers, lazy-and-cached map values, the empty-versus-not-found distinction, and subrequest isolation, with runnable, curl-verified examples using the…

NGINX

NGINX Immutable Module: Far-Future Cache-Control Headers

Cut wasted revalidation requests on versioned static assets. The NGINX immutable module emits RFC-compliant far-future Cache-Control headers with the immutable attribute, stale-while-revalidate, and stale-if-error…

NGINX

NGINX Automatic Image Conversion: WebP and AVIF

Learn how to automatically convert and serve WebP and AVIF images in NGINX using the ngx_immerse filter module. This module transparently intercepts image responses…