Core event directives
use (Core event directives)
Selects the event mechanism in events; automatic selection is normally appropriate.
Formal Syntax & Structure
nginx syntaxnginx
use method;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| method | event backend name | Choose a compiled, platform-supported mechanism such as epoll on Linux. Automatic selection is normally preferable. |
Working Example
Example Snippetnginx
events { use epoll; }