February 2018
Beginner to intermediate
348 pages
9h 40m
English
The events module comes with directives that allow you to configure network mechanisms. Some of the parameters have an important impact on the application's performance.
All of the directives listed in the following table must be placed in the events block, which is located at the root of the configuration file:
user nginx nginx;
master_process on;
worker_processes 4;
events {
worker_connections 1024;
use epoll;
}
[...]
These directives cannot be placed elsewhere (if you do so, the configuration test will fail):
|
Directive name |
Syntax and description |
|
accept_mutex |
|
Read now
Unlock full access