about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/configuration.nix b/configuration.nix
index af120b3..5378d07 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -57,7 +57,13 @@ in
       enable = true;
       useRoutingFeatures = "client";
     };
-    nginx.enable = true;
+    nginx = {
+      enable = true;
+      recommendedGzipSettings = true;
+      recommendedOptimisation = true;
+      recommendedProxySettings = true;
+      recommendedTlsSettings = true;
+    };
   };
 
   virtualisation = {