From 8c593459924ed4b586c22db091be75d2a6261108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikodem=20Rabuli=C5=84ski?= Date: Wed, 7 Feb 2024 12:37:25 +0100 Subject: [PATCH] hosts/kazuki: enable recommended nginx settings --- hosts/kazuki/attic.nix | 3 +++ hosts/kazuki/vault.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/hosts/kazuki/attic.nix b/hosts/kazuki/attic.nix index 920a2f0..a5f63e8 100644 --- a/hosts/kazuki/attic.nix +++ b/hosts/kazuki/attic.nix @@ -64,6 +64,9 @@ in { services.nginx = { enable = true; recommendedProxySettings = true; + recommendedGzipSettings = true; + recommendedOptimisation = true; + recommendedTlsSettings = true; virtualHosts."cache.nrab.lol" = { forceSSL = true; enableACME = true; diff --git a/hosts/kazuki/vault.nix b/hosts/kazuki/vault.nix index 87ff42b..2851823 100644 --- a/hosts/kazuki/vault.nix +++ b/hosts/kazuki/vault.nix @@ -17,6 +17,9 @@ services.nginx = { enable = true; recommendedProxySettings = true; + recommendedGzipSettings = true; + recommendedOptimisation = true; + recommendedTlsSettings = true; virtualHosts."vault.rabulinski.com" = { forceSSL = true; enableACME = true;