From c99afdd4461a9870677298154fec37649acf0bb7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 21 Aug 2021 16:46:21 +0100 Subject: [PATCH] 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 --- ansible/roles/qbittorrent/files/nginx.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ansible/roles/qbittorrent/files/nginx.conf b/ansible/roles/qbittorrent/files/nginx.conf index d309761..72ee501 100644 --- a/ansible/roles/qbittorrent/files/nginx.conf +++ b/ansible/roles/qbittorrent/files/nginx.conf @@ -1,4 +1,4 @@ -worker_processes 1; +worker_processes 2; events { worker_connections 1024; @@ -13,15 +13,14 @@ http { keepalive_timeout 65; - gzip on; + gzip off; + gzip_static off; server { listen 80; root /mnt/downloads; - gzip_static off; - gzip_types *; autoindex on; autoindex_exact_size off;