about summary refs log tree commit diff
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-09-16 15:41:47 +0200
committerProfpatsch <mail@profpatsch.de>2020-09-16 15:42:20 +0200
commit9aa9db32ce35774c124d6186a03006c9e345877f (patch)
treeaa4cad2bfa12653be3b35b1b8d4286b84c893964
parent427e24a7fba51113dec35b633fae11e8a850d9d4 (diff)
machines/legosi: use gzip and optimization for nginx
-rw-r--r--machines/profpatsch/legosi.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix
index 3bce4ebb..d4009c20 100644
--- a/machines/profpatsch/legosi.nix
+++ b/machines/profpatsch/legosi.nix
@@ -95,6 +95,8 @@ in {
 
     services.nginx = {
       enable = true;
+      recommendedGzipSettings = true;
+      recommendedOptimisation = true;
       virtualHosts.${"profpatsch.de"} = {
         forceSSL = true;
         enableACME = true;