From 107384d101e372c5b7e203fa68a9f1bb3db6c198 Mon Sep 17 00:00:00 2001 From: Xe Date: Fri, 4 Nov 2022 17:06:40 -0400 Subject: [PATCH] akko: enable nginx Signed-off-by: Xe --- hosts/akko/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/akko/default.nix b/hosts/akko/default.nix index 4a39301..0cb3b4b 100644 --- a/hosts/akko/default.nix +++ b/hosts/akko/default.nix @@ -11,4 +11,13 @@ users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM6NPbPIcCTzeEsjyx0goWyj6fr2qzcfKCCdOUqg0N/v cadey@kos-mos" ]; + + services.nginx = { + enable = true; + + clientMaxBodySize = "128m"; + recommendedTlsSettings = true; + recommendedOptimisation = true; + recommendedGzipSettings = true; + }; }