2021-08-21 16:46:21 +01:00
|
|
|
worker_processes 2;
|
2021-04-16 21:49:00 +01:00
|
|
|
|
|
|
|
events {
|
|
|
|
worker_connections 1024;
|
|
|
|
}
|
|
|
|
|
|
|
|
http {
|
|
|
|
include mime.types;
|
|
|
|
default_type application/octet-stream;
|
|
|
|
|
|
|
|
sendfile on;
|
|
|
|
tcp_nopush on;
|
|
|
|
|
|
|
|
keepalive_timeout 65;
|
|
|
|
|
2021-08-21 16:46:21 +01:00
|
|
|
gzip off;
|
|
|
|
gzip_static off;
|
2021-04-16 21:49:00 +01:00
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
|
|
|
|
root /mnt/downloads;
|
|
|
|
|
|
|
|
|
|
|
|
autoindex on;
|
|
|
|
autoindex_exact_size off;
|
|
|
|
}
|
|
|
|
}
|