35 lines
478 B
Nginx Configuration File
35 lines
478 B
Nginx Configuration File
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;
|
|
listen [::]:80 default_server;
|
|
|
|
http2 on;
|
|
|
|
server_name _;
|
|
|
|
root /mnt/index;
|
|
}
|
|
}
|