vps/nginx-www/nginx.conf

35 lines
450 B
Nginx Configuration File
Raw Normal View History

2023-11-22 08:26:10 +01:00
worker_processes auto;
worker_cpu_affinity auto;
worker_rlimit_nofile 2048;
events {
worker_connections 1024;
}
http {
charset utf-8;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
gzip off;
# Hide NGINX version in error messages.
server_tokens off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
server {
listen [::]:80 default_server;
http2 on;
server_name _;
root /mnt/index;
}
}