From b2b963fb5bc7536a08692f0bce6277e39c44fcb8 Mon Sep 17 00:00:00 2001 From: materus Date: Wed, 7 Jun 2023 18:43:40 +0200 Subject: [PATCH] valkyrie: nginx fix --- configurations/host/valkyrie/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/configurations/host/valkyrie/default.nix b/configurations/host/valkyrie/default.nix index 22df52b..37c71ae 100644 --- a/configurations/host/valkyrie/default.nix +++ b/configurations/host/valkyrie/default.nix @@ -119,14 +119,13 @@ system.stateVersion = "23.05"; # Did you read the comment? -services.nginx = { - enable = true; - addSSL = true; + services.nginx = { + enable = true; - recommendedTlsSettings = true; - recommendedOptimisation = true; - recommendedGzipSettings = true; -}; + recommendedTlsSettings = true; + recommendedOptimisation = true; + recommendedGzipSettings = true; + }; @@ -135,7 +134,8 @@ services.nginx = { security.acme.defaults.email = "materus+acme@podkos.pl"; security.acme.certs."materus.pl" = { domain = "materus.pl"; - extraDomainNames = ["*.materus.pl"]; + group = "nginx"; + extraDomainNames = [ "*.materus.pl" ]; dnsProvider = "ovh"; credentialsFile = "/materus/config/valkyrie/certs.secret"; };