infrastructure/ansible/roles/qbittorrent/files/nginx.conf
Jake Howard c99afdd446
Disable gzip on qbittorrent egress
It's mostly used over the internal network, so the additional gzip isn't going to gain anything when the disk is the bottleneck
2021-08-21 16:46:21 +01:00

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;
}
}