diff options
author | Martin Fischer <martin@push-f.com> | 2025-03-09 19:03:31 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-03-09 19:15:07 +0100 |
commit | de57db8d64eb4de42a49882642152aaf13b34cad (patch) | |
tree | 36bcb5a47395ff72c5a9e72365c708da0a0a7cb2 /nixos/hosts/tente/web-personal.nix | |
parent | 509f45656171f9aa4fc3398c9a2a2022da11faf8 (diff) |
tente: configure separate nginx logs
Diffstat (limited to 'nixos/hosts/tente/web-personal.nix')
-rw-r--r-- | nixos/hosts/tente/web-personal.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/hosts/tente/web-personal.nix b/nixos/hosts/tente/web-personal.nix index 7c17063..4e86e9b 100644 --- a/nixos/hosts/tente/web-personal.nix +++ b/nixos/hosts/tente/web-personal.nix @@ -2,6 +2,7 @@ let cfg = config.web-personal; + helpers = import <top/helpers.nix>; in { options.web-personal = { @@ -27,6 +28,7 @@ in enableACME = true; forceSSL = true; root = "/srv/www/${cfg.domain}"; + extraConfig = helpers.mkNginxConfig cfg.domain; locations."= /.well-known/matrix/server".extraConfig = mkWellKnown { "m.server" = "${cfg.matrixApiDomain}:443"; |