Skip to content

Instantly share code, notes, and snippets.

@carlosjac
Created July 16, 2010 16:31
Show Gist options
  • Save carlosjac/478587 to your computer and use it in GitHub Desktop.
Save carlosjac/478587 to your computer and use it in GitHub Desktop.
user www-data www-data;
worker_processes 4;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log;
sendfile on;
tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 3;
tcp_nodelay off;
gzip on;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment