From 61f84575849041ab1896b054f41b101b336a1d71 Mon Sep 17 00:00:00 2001
From: Gabriel Arazas <foodogsquared@foodogsquared.one>
Date: Wed, 4 Oct 2023 15:53:43 +0800
Subject: [PATCH] hosts/plover: update nginx configuration

---
 hosts/plover/modules/services/nginx.nix | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/hosts/plover/modules/services/nginx.nix b/hosts/plover/modules/services/nginx.nix
index 89a94504..1f040526 100644
--- a/hosts/plover/modules/services/nginx.nix
+++ b/hosts/plover/modules/services/nginx.nix
@@ -11,12 +11,15 @@
 
     package = pkgs.nginxMainline;
 
-    recommendedBrotliSettings = true;
-    recommendedGzipSettings = true;
     recommendedOptimisation = true;
     recommendedProxySettings = true;
     recommendedTlsSettings = true;
 
+    # Some more server-sided compressions.
+    recommendedBrotliSettings = true;
+    recommendedGzipSettings = true;
+    recommendedZstdSettings = true;
+
     proxyCachePath.apps = {
       enable = true;
       keysZoneName = "apps";