Supplement · Nginx

Configuration model và contexts

Cấu hình là cây context: main → events/http → server → location. Directive có context hợp lệ và cơ chế inheritance riêng; không nên suy luận rằng child luôn “merge” với parent.

Parse và selection

Pattern: render config cuối bằng nginx -T, review secret redaction, diff artifact trước rollout.

Nguồn chính thức