From 3b00da90d0bda9ff9d9e3c84208bb8a348f4ef38 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 29 Oct 2023 03:37:22 +0100 Subject: [PATCH] feat: add more nginx recommended settings --- hosts/nachtigall/apps/nginx.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/nachtigall/apps/nginx.nix b/hosts/nachtigall/apps/nginx.nix index 2715583..bde05a8 100644 --- a/hosts/nachtigall/apps/nginx.nix +++ b/hosts/nachtigall/apps/nginx.nix @@ -15,7 +15,10 @@ in { proxyCachePath.cache = { enable = true; }; + recommendedGzipSettings = true; + recommendedOptimisation = true; recommendedProxySettings = true; + recommendedTlsSettings = true; }; # Nginx user needs access to mastodon unix sockets users.users.nginx.extraGroups = [ "mastodon" ];