From de57db8d64eb4de42a49882642152aaf13b34cad Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 9 Mar 2025 19:03:31 +0100 Subject: tente: configure separate nginx logs --- nixos/hosts/tente/matrix.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos/hosts/tente/matrix.nix') diff --git a/nixos/hosts/tente/matrix.nix b/nixos/hosts/tente/matrix.nix index ab6931e..7e802c6 100644 --- a/nixos/hosts/tente/matrix.nix +++ b/nixos/hosts/tente/matrix.nix @@ -2,6 +2,7 @@ let cfg = config.matrix; + helpers = import ; in { options.matrix = { @@ -46,6 +47,7 @@ in nginx.virtualHosts.${cfg.apiDomain} = { enableACME = true; forceSSL = true; + extraConfig = helpers.mkNginxConfig cfg.apiDomain; # TODO: add locations."/" with some message -- cgit v1.2.3