Take the 2-minute tour ×  I've managed to set up my nginx.conf
file and it looks like this:  root       www www;
worker_processes 1;  worker_rlimit_nofile 8192;  events {
worker_connections  8000;    accept_mutex off;   error_log
logs/error.log; pid        logs/nginx.pid;  http {   # Set the
mime-types   include       mime.types;    # And the fallback
mime-type   default_type  application/octet-stream;    # Format
for our log files   log_format   main '$remote_addr -
$remote_user [$time_local]  $status '     '"$request"
$body_bytes_sent "$http_referer" '     '"$http_user_agent"
"$http_x_forwarded_for"';    # Click tracking!   access_log
logs/access.log  main;    # Nginx are cheap, so generally it's
safe to increase it   keepalive_timeout  5;    # You usually
want to serve static files with Nginx   sendfile on;     #
Enable Gzip   gzip  on;   gzip_http_version 1.0;
gzip_comp_level 2;   gzip_min_length 1100;   gzip_buffers     4
8k;   gzip_proxied any;   gzip_types text/html text/plain
text/xml applica