worker_processes  auto;
worker_cpu_affinity auto;

events {
    worker_connections  8096;
}

http {

	include       mime.types;
    default_type  application/octet-stream;


    server {
        listen  80;
        charset utf-8;
        server_name_in_redirect off;
        gzip on;
        gzip_buffers 4 16k;
        gzip_comp_level 6;
        gzip_vary on;
        gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
        location / {
            try_files $uri $uri/ /index.html;
            root   /usr/share/nginx/html;
        }
    }
}
