Skip to content

Instantly share code, notes, and snippets.

@karan
Created February 5, 2015 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karan/521594057330c7935a10 to your computer and use it in GitHub Desktop.
Save karan/521594057330c7935a10 to your computer and use it in GitHub Desktop.
user nginx;
worker_processes 4;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
# max_clients = worker_processes * worker_connections / 4
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
server_names_hash_bucket_size 64;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment