From c896596989657af56f967ec050d5d9cd45e0dce7 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sat, 18 May 2024 20:21:38 +0700 Subject: Remove compression for png/jpg They're already compressed format, this just adds overhead --- static.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static.nix b/static.nix index 8d0291f..3470dea 100644 --- a/static.nix +++ b/static.nix @@ -50,8 +50,7 @@ in { additionalModules = [ pkgs.nginxModules.pam ]; appendHttpConfig = '' access_log off; - brotli_types text/html image/png image/jpeg; - gzip_types image/png image/jpeg; + brotli_types text/html; ''; enable = true; enableReload = true; -- cgit 1.4.1