Skip to content

Instantly share code, notes, and snippets.

@v0lkan
v0lkan / nginx.conf
Last active November 16, 2024 15:34
Configuring NGINX for Maximum Throughput Under High Concurrency
user web;
# One worker process per CPU core.
worker_processes 8;
# Also set
# /etc/security/limits.conf
# web soft nofile 65535
# web hard nofile 65535
# /etc/default/nginx