From 66c105610ef47b8ffbd329191e764dfe1f8c2958 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Tue, 23 Apr 2024 19:26:40 +0200 Subject: [PATCH] enable matrix web client --- systems/hetzner/matrix.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/systems/hetzner/matrix.nix b/systems/hetzner/matrix.nix index c779c49..33f8692 100644 --- a/systems/hetzner/matrix.nix +++ b/systems/hetzner/matrix.nix @@ -43,6 +43,19 @@ in locations."/_matrix".proxyPass = "http://[::1]:8008"; locations."/_synapse/client".proxyPass = "http://[::1]:8008"; }; + "element.matrix.missing.ninja" = { + enableACME = true; + forceSSL = true; + serverAliases = [ + "element.missing.ninja" + ]; + + root = pkgs.element-web.override { + conf = { + default_server_config = clientConfig; + }; + }; + }; }; };