about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-05-18 20:21:38 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-05-18 20:21:38 +0700
commitc896596989657af56f967ec050d5d9cd45e0dce7 (patch)
tree9f15438504d1b0b724e257fe03d264d995456366
parent176a872750a3e0aeaa78deb5f064c9614f80f439 (diff)
downloadnixos-conf-c896596989657af56f967ec050d5d9cd45e0dce7.tar.gz
Remove compression for png/jpg
They're already compressed format, this just adds overhead
-rw-r--r--static.nix3
1 files changed, 1 insertions, 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;