user www-data;
worker_processes 4;
pid /run/nginx.pid;

events {
        worker_connections 8192;
        use epoll;
        # multi_accept on;
}

http {
        sendfile on;
        #tcp_nopush on;
        tcp_nodelay on;
        keepalive_timeout 5;
        types_hash_max_size 2048;
        server_tokens off;
        server_name_in_redirect off;
        client_max_body_size 100m;

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

        #access_log /var/log/nginx/access.log;
        #error_log /var/log/nginx/error.log;

        gzip on;
        gzip_disable "msie6";
        gzip_types  text/plain application/xml application/xhtml+xml text/xml text/css text/javascript application/javascript application/x-javascript application/json image/x-icon;
        gzip_vary   on;

        include /etc/nginx/conf.d/*.conf;
        include /etc/nginx/sites-enabled/*;
}
