Nginx configuration uses a block-based syntax where directives are organized into contexts: http, server, and location. This reference covers the most common nginx config patterns with ready-to-paste snippets.