Looking at the 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? and what directives are made 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 they offer are always available. Three base modules are distinguished:
- Core module: This has essential features and directives, such as process management and security
- Events module: This lets you configure the inner mechanisms of the networking capabilities
- Configuration module: This enables the inclusion mechanism
These modules offer a large range of directives; we will detail them individually, with their syntaxes and default values.
NGINX process architecture
Before we start detailing the basic configuration...