Nginx - Block

Nginx - Block

About

block in Nginx is a grammar construct of the directive type.

It groups:

  • name and parameters
  • and a set of additional instructions surrounded by braces ({ and }).

See Block

Context

If a block directive can have other directives inside braces, it is called a context block. Examples:







Share this page:
Follow us:
Task Runner