From ef5de4798a22801a1e67d63d9078c039ab13f94c Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 16 Oct 2023 11:58:12 +0000 Subject: Use recommended Nginx settings --- configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configuration.nix') 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 = { -- cgit 1.4.1