user       www www; 
worker_processes  2;
error_log  logs/error.log;
pid        logs/nginx.pid;
events {
        worker_connections  1024;
}
http {
		open_log_file_cache max=1000 inactive=20s min_uses=2 valid=1m;
		access_log  /var/log/nginx/access.log  gzip  buffer=32k;
		error_log /var/log/nginx/error.log crit; 
		
        include       mime.types;
        default_type  application/octet-stream;
        gzip on;
        gzip_min_length 5000;
        gzip_buffers    4 8k;
        gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
        gzip_proxied  any;
        gzip_comp_level 2;
        ignore_invalid_headers  on;
        includes sites-available/*;
}
