Directive reference
worker_connections
Sets the maximum simultaneous connections per worker.
| Syntax | worker_connections number; |
|---|---|
| Contexts | events |
| Default | worker_connections 512; |
Behavior
The bound includes client and upstream connections. Size the process file-descriptor limit for both sides of proxied traffic.
Example
events {
worker_connections 4096;
}