From 25a2b8c695ed83ad126a631db72a392da2dff8a4 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 9 Dec 2024 13:21:40 -0700 Subject: [PATCH] Enable gzip --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 32749a3..8dc64f6 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,8 @@ user nginx nginx; daemon off; error_log /dev/stdout info; + gzip on; + gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; pid /dev/null; events {} http {