195 Variables · 10 Module Guides

Master NGINX
from config to C code

The definitive educational reference — deep-dive module guides with source code review, a comprehensive searchable variable index, and production-ready configuration patterns.

nginx.conf — nginx101.com
0
Variables Documented
0
Module Deep-Dives
0
Directives Referenced
0
Config Examples

Everything NGINX, explained

From reverse proxy basics to C module internals — with production configs, source walkthroughs, and real gotchas.

Beyond the docs —
into the source

Every module guide walks through the C source code to explain why and how directives actually work under the hood.

  • Directive syntax, defaults, and valid contexts
  • C module handler internals and request flow
  • Installation via GetPageSpeed RPM repo
  • Real gotchas, edge cases, and known issues
nginx.conf
# WebP auto-conversion with fallback map $http_accept $webp_suffix { default ""; "~*webp" ".webp"; } server { listen 443 ssl http2; server_name nginx101.com; location ~* ^/img/(.+)\.(png|jpe?g)$ { set $base /img/$1; try_files $base$webp_suffix $uri =404; } }