user www-data;
worker_processes auto;
worker_cpu_affinity auto;
error_log stderr error;
#worker_rlimit_nofile 1024000;
timer_resolution 1s;
daemon off;

events {
    worker_connections 32768;
    multi_accept off; #default
}

http {
    include /etc/nginx/mime.types;
    access_log off;
    server_tokens off;
    msie_padding off;

    sendfile off; #default
    tcp_nopush off; #default
    tcp_nodelay on; #default
    keepalive_timeout 65;
    keepalive_disable none; #default msie6
    keepalive_requests 300000; #default 100

    server {
        listen 8080 default_server reuseport deferred fastopen=4096;
        #8080 default_server reuseport deferred backlog=65535 fastopen=4096;
        root /;

        location = /plaintext {
            default_type text/plain;
            return 200 "Hello, World!";
        }
    }
}
