Base module directives

In this section, we will take a closer look at the base modules. We are particularly interested in answering two questions: what are base modules? What are the directives that are available?

What are base modules?

The base modules offer directives that allow you to define the parameters of the basic functionality of Nginx. They cannot be disabled at compile time, and as a result, the directives and blocks that they offer are always available. Three base modules have been distinguished:

  • Core module: Consists of essential features and directives such as process management and security
  • Events module: Lets you configure the inner mechanisms of the networking capabilities
  • Configuration module: Enables the inclusion mechanism

These ...

Get Nginx HTTP Server - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.