worker_processes auto; worker_rlimit_nofile 20000; events { worker_connections 5000; use epoll; multi_accept on; } http { ## # Basic Settings ## proxy_headers_hash_max_size 1024; proxy_headers_hash_bucket_size 128; sendfile on; proxy_read_timeout 500; proxy_connect_timeout 500; proxy_send_timeout 500; send_timeout 500; keepalive_timeout 165; tcp_nopush on; types_hash_max_size 2048; client_max_body_size 10M; server_tokens off; include /etc/nginx/mime.types; default_type application/octet-stream; ## # SSL Settings ## ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE ssl_prefer_server_ciphers on; ## # Logging Settings ## access_log /var/log/nginx/access.log; ## # Gzip Settings ## gzip on; ## # Virtual Host Configs ## include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; }