Skip to content

Instantly share code, notes, and snippets.

View Day0Dreamer's full-sized avatar

Mikhail Talalaevskiy Day0Dreamer

View GitHub Profile
worker_processes 1;
user nobody nogroup;
# 'user nobody nobody;' for systems with 'nobody' as a group instead
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024; # increase if you have lots of clients
accept_mutex off; # set to 'on' if nginx worker_processes > 1