Jake Howard
c99afdd446
It's mostly used over the internal network, so the additional gzip isn't going to gain anything when the disk is the bottleneck
28 lines
387 B
Nginx Configuration File
28 lines
387 B
Nginx Configuration File
worker_processes 2;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
|
|
keepalive_timeout 65;
|
|
|
|
gzip off;
|
|
gzip_static off;
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
root /mnt/downloads;
|
|
|
|
|
|
autoindex on;
|
|
autoindex_exact_size off;
|
|
}
|
|
}
|