user  nginx;
worker_processes  auto;
worker_cpu_affinity auto;
worker_rlimit_nofile 65535;

error_log  /var/log/nginx-error.log warn;
pid        /var/run/nginx.pid;

events {
    worker_connections 2048;
    use epoll;
    multi_accept on;
}

http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;
    access_log  /var/log/nginx/access.log combined;

    client_max_body_size 400m;
    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    gzip  on;
    server_tokens off;
    keepalive_timeout  65;
    include /etc/nginx/conf.d/*.conf;
}