ALL_SERIES
SERIES_OVERVIEW // CURRICULUM_MAP

Learn NGINX In Action

// Mental model production-grade untuk memahami NGINX sebagai edge traffic system, bukan sekadar web server atau reverse proxy template.

105 Lessons1314 Min Total04 Phases

This overview is designed to help you choose the right entry point quickly. Follow the full track from lesson one, continue from your last checkpoint, or jump straight into a phase that matches what you need right now.

access-controlacmeaioalertingalias+208 more

Curriculum Map

Navigate by phase, then choose the lesson that matches your current depth.

01

Edge Traffic Mental Model

18 min

Mental model production-grade untuk memahami NGINX sebagai edge traffic system, bukan sekadar web server atau reverse proxy template.

02

Where NGINX Fits In Modern Architecture

18 min

Peta posisi NGINX dalam arsitektur modern: bare metal, VM, container, Kubernetes, CDN, load balancer cloud, service mesh, API gateway, dan internal platform edge.

03

Master/Worker Runtime

17 min

Runtime internal NGINX: master process, worker process, event-driven execution, graceful reload, signal handling, shared zones, dan failure mode production.

04

Event Loop and Connection Lifecycle

15 min

Event loop dan lifecycle koneksi NGINX: accept, read, parse, route, upstream, buffer, write, keepalive, timeout, backpressure, dan failure modelling.

05

NGINX Config Language From First Principles

11 min

Bahasa konfigurasi NGINX dari first principles: directive, block, context, include, parse-time vs runtime, module ownership, validasi, dan pola konfigurasi production-grade.

06

Context, Directive, Inheritance

12 min

Context, directive inheritance, merge semantics, scope boundary, dan cara menghindari bug konfigurasi NGINX yang muncul akibat salah memahami inheritance.

07

Request Processing Pipeline

14 min

Request processing pipeline NGINX dari listener sampai log: accept connection, virtual server selection, location lookup, rewrite, access, content handler, upstream, response filter, dan observability.

08

Server Selection, Server Name, and Default Server

11 min

Server selection NGINX secara production-grade: listen address/port, default_server, server_name exact/wildcard/regex, Host header, SNI, catch-all, dan hardening virtual host.

09

Location Matching Algorithm

12 min

Algoritma location matching NGINX dari first principles: exact, prefix, ^~, regex, named location, internal redirect, dan failure mode routing production.

10

Variables, map, geo, and Evaluation Timing

12 min

Mental model variable NGINX, map, geo, lazy evaluation, request-time values, dan pola aman untuk routing, policy, cache, dan observability production.

11

Safe Config Layout for Production

11 min

Layout konfigurasi NGINX production-grade: struktur direktori, include boundaries, snippet discipline, environment overlays, config review, validasi CI, dan rollback-friendly design.

12

NGINX CLI, Signals, Test, Reload, and Rollback

10 min

Workflow operasional NGINX: command line, signal, nginx -t, nginx -T, reload aman, graceful shutdown, reopen log, binary upgrade, rollback, dan deployment checklist.

13

Build, Package, and Module Strategy

12 min

Strategi memilih distribusi NGINX untuk production: OS package, official repository, container image, build from source, dynamic module, reproducibility, patching, rollback, dan supply-chain control.

14

Open Source vs NGINX Plus Boundaries

11 min

Batas praktis NGINX Open Source dan NGINX Plus untuk arsitektur production: fitur, trade-off, failure mode, keputusan biaya, operability, dan cara menjaga portability desain.

15

Production Baseline Lab

11 min

Production baseline lab for building a safe, inspectable, reloadable, and extensible NGINX skeleton before using it as a web server, reverse proxy, cache, or load balancer.

16

Static File Serving Internals

9 min

Deep dive into NGINX static file serving internals: URI-to-file mapping, root, alias, index, try_files, internal redirects, permission failures, and production-safe filesystem contracts.

17

root vs alias Footguns

10 min

Deep dive into root vs alias semantics, URI-to-filesystem mapping, path traversal risk, location boundary bugs, and production-safe static file layout patterns.

18

try_files, Internal Redirects, and SPA Routing

8 min

Deep dive into try_files, internal redirects, named locations, SPA fallback routing, frontend/backend boundary design, and production-safe missing-file behavior.

19

MIME Types, default_type, and Content Negotiation

11 min

Deep dive into MIME types, default_type, types blocks, content negotiation boundaries, browser sniffing, security headers, and production-safe content classification in NGINX.

20

sendfile, AIO, directio, and open_file_cache

12 min

Deep dive into NGINX static file performance using sendfile, AIO, directio, tcp_nopush, open_file_cache, filesystem metadata caching, and production tuning trade-offs.

21

Compression Strategy: gzip, Brotli Optional, and Precompressed Assets

14 min

Production-grade compression strategy in NGINX using gzip, gzip_static, optional Brotli modules, precompressed assets, Vary semantics, CPU trade-offs, and safe rollout patterns.

22

Cache-Control, ETag, and Last-Modified

12 min

Deep production treatment of browser cache semantics in NGINX: Cache-Control, Expires, ETag, Last-Modified, conditional requests, immutable assets, HTML revalidation, and cache policy safety.

23

error_page, Named Location, and Internal Error Flow

11 min

Memahami error_page, named location, dan internal location sebagai control-flow error handling di NGINX production, termasuk status code mapping, internal redirect loop, dan observability.

24

Canonical Redirects, Host Normalization, and Redirect Loop Prevention

12 min

Mendesain canonical redirects di NGINX secara production-grade, mencakup HTTP ke HTTPS, host normalization, www/non-www, trailing slash, default server, proxy awareness, SEO, dan redirect loop prevention.

25

rewrite vs return and Routing Discipline

13 min

Rewrite vs return, routing discipline, redirect correctness, internal URI mutation, loop prevention, and production-safe URL normalization in NGINX.

26

CORS and OPTIONS Preflight at the Edge

14 min

Production-grade CORS handling in NGINX, including OPTIONS preflight, origin allowlists, credentials, Vary, edge policy boundaries, and failure modes.

27

Static Site Hardening

11 min

Production-grade static site hardening in NGINX, including directory listing control, hidden files, source leakage, symlink escape, security headers, upload boundaries, and static asset incident playbooks.

28

Multi-Tenant Static Hosting

11 min

Production-grade multi-tenant static hosting with NGINX, including host-based isolation, path-based risks, wildcard domains, per-tenant roots, cache/log separation, deployment models, and operational guardrails.

29

Static Assets Production Lab

11 min

End-to-end production lab for serving static assets with NGINX, including immutable assets, SPA fallback, MIME safety, compression, browser caching, hardened locations, deployment layout, smoke tests, and rollback.

30

Reverse Proxy Mental Model

12 min

Reverse proxy mental model for production NGINX, covering edge contracts, upstream contracts, request/response transformation, buffering, trust boundaries, failure semantics, retries, timeouts, and ownership boundaries.

31

proxy_pass Semantics: Slash, URI Replacement, Variables, and Regex

12 min

Deep practical guide to proxy_pass URI semantics, trailing slash behavior, URI replacement, regex and named location traps, variables, rewrite interactions, and production-safe reverse proxy routing.

32

Forwarded Headers, Real IP, and Trust Boundaries

14 min

Production-grade guide to forwarded headers, real client IP restoration, trust boundaries, Host and scheme propagation, PROXY protocol, spoofing risks, and safe reverse proxy identity design.

33

Proxy Buffering, Temp Files, and Streaming

11 min

Production-grade guide to NGINX proxy buffering, response buffers, request buffering, temporary files, streaming, slow clients, memory and disk pressure, and safe reverse proxy behavior.

34

Timeouts for Real Systems

12 min

Production-grade guide to NGINX reverse proxy timeout design, connect/send/read/client/keepalive timeouts, 502/504 behavior, retries, streaming exceptions, latency budgets, and failure propagation.

35

Request Body Size, Upload, and Backpressure

15 min

Production-grade guide to NGINX request body handling, upload size limits, buffering, temporary files, proxy_request_buffering, slow clients, streaming uploads, and backpressure design.

36

Response Header Control

13 min

Production-grade guide to NGINX response header control, proxy_set_header, proxy_hide_header, proxy_pass_header, proxy_ignore_headers, add_header, expires, cookie rewriting, inheritance traps, and edge contract design.

37

WebSocket and Server-Sent Events Proxying

11 min

Deep practical guide to proxying WebSocket and Server-Sent Events through NGINX, including Upgrade semantics, long-lived connections, buffering, timeout design, load balancing, observability, and production failure modes.

38

gRPC Proxying

10 min

Production-oriented guide to gRPC proxying with NGINX, covering HTTP/2 requirements, grpc_pass semantics, TLS termination, deadlines, retries, status mapping, observability, health checks, and failure modelling.

39

FastCGI, uWSGI, SCGI, and PHP-FPM

13 min

Production-oriented guide to FastCGI, uWSGI, SCGI, and PHP-FPM behind NGINX, covering protocol boundaries, params safety, script path correctness, buffering, timeouts, pools, observability, and failure modelling.

40

Upstream Keepalive and Connection Reuse

10 min

Production-oriented guide to upstream keepalive and connection reuse in NGINX, covering worker-local pools, HTTP versioning, Connection header handling, backend saturation, port exhaustion, DNS/service discovery, TLS upstream, sizing, observability, and rollout strategy.

41

DNS Resolution and Dynamic Upstreams

13 min

DNS resolution, service discovery, dynamic upstreams, resolver semantics, TTL behavior, Kubernetes and cloud DNS traps, and production patterns for safe dynamic backend discovery in NGINX.

42

Retry Semantics, Idempotency, and Duplicate Write Prevention

12 min

Retry semantics in NGINX reverse proxy, proxy_next_upstream, idempotency, duplicate writes, retry budgets, upstream failure classification, and production-safe retry policy design.

43

Request Routing with map, split_clients, Header, Cookie, and Canary

13 min

Production-grade request routing with NGINX map, split_clients, header and cookie based routing, canary traffic, shadow-safe routing boundaries, and policy-table driven configuration.

44

API Gateway Patterns with NGINX: Routing, Shielding, and Policy Edge

13 min

API Gateway patterns with NGINX Open Source and NGINX Plus boundaries, including routing, policy enforcement, authentication delegation, rate limiting, request shielding, observability, versioning, and failure modelling.

45

Reverse Proxy Production Lab

11 min

Production reverse proxy lab for Java, Node.js, and Go backends, covering topology, configuration layout, upstream contracts, headers, buffering, timeouts, health endpoints, smoke tests, reload, rollback, and failure drills.

46

HTTP Load Balancing Mental Model

13 min

Mental model for HTTP load balancing with NGINX, including scheduling domains, request distribution, capacity, fairness, passive health checks, failure semantics, upstream state, retries, keepalive interaction, and why load balancing is not the same as resilience.

47

Round Robin, Least Connections, IP Hash, and Generic Hash

12 min

Deep dive into NGINX HTTP load balancing algorithms: round robin, least connections, IP hash, generic hash, and the operational consequences of choosing each method.

48

Weights, Capacity Modelling, and Hotspot Avoidance

8 min

Production-grade capacity modelling for NGINX upstreams: weights, backend capacity, max connections, hot spot avoidance, canary ramping, and overload-safe load balancing design.

49

Passive Health Checks in NGINX Open Source

9 min

Passive health checks in NGINX Open Source: max_fails, fail_timeout, upstream failure inference, retry coupling, limitations, observability, and production-safe failure design.

50

Active Health Checks and NGINX Plus Boundary

10 min

Active health checks and the NGINX Plus boundary: periodic probes, match blocks, mandatory checks, slow start, gRPC/TCP/UDP health checks, operational risks, and Open Source alternatives.

51

Session Affinity, Sticky Sessions, and Stateful Backend Risk

13 min

Session affinity, sticky routing, and stateful backend risk in NGINX: ip_hash, hash, sticky cookie, sticky route, sticky learn, route-bound draining, and migration paths away from accidental statefulness.

52

Slow Start, Draining, and Upstream Recovery

11 min

Slow start, draining, and upstream recovery in NGINX: recovering failed servers safely, reducing cold-start overload, draining sticky backends, and designing deployment playbooks with Open Source and NGINX Plus boundaries.

53

Canary, Blue-Green, Header-Based Routing, and Progressive Delivery

9 min

Progressive delivery with NGINX: rate splitting, canary, blue-green, header and cookie override, route labels, rollback switches, observability, and production-safe rollout discipline.

54

Circuit-Breaker-Like Patterns in NGINX

7 min

Circuit-breaker-like resilience patterns in NGINX: what NGINX can and cannot do, failure classification, passive health checks, retries, rate limits, load shedding, stale cache fallback, backup upstreams, kill switches, and external control-plane integration.

55

Queueing, Overload, and Load Shedding

12 min

Queueing, overload, load shedding, and latency collapse patterns for NGINX as a production edge tier.

56

Load Balancing Observability

11 min

Observability for NGINX upstream load balancing using logs, upstream variables, latency decomposition, retry inference, and failure diagnosis.

57

Load Balancing Production Lab

9 min

Production lab for NGINX HTTP load balancing with upstream groups, retries, health semantics, overload controls, observability, and failure injection.