Skip to content

Instantly share code, notes, and snippets.

@bandito
Created March 2, 2011 11:54
Show Gist options
  • Save bandito/850814 to your computer and use it in GitHub Desktop.
Save bandito/850814 to your computer and use it in GitHub Desktop.
user wowbagger;
worker_processes 20;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 2048;
use epoll;
}
http {
include /etc/nginx/mime.types;
access_log /var/log/nginx/access.log;
sendfile on;
tcp_nopush off;
tcp_nodelay off;
client_header_timeout 5;
client_body_timeout 10;
keepalive_timeout 10;
ignore_invalid_headers on;
send_timeout 10;
large_client_header_buffers 8 4k;
gzip on;
gzip_comp_level 6;
gzip_proxied any;
gzip_buffers 16 8k;
gzip_vary on;
gzip_types text/css application/x-javascript text/javascript;
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