From b954e0a12f5f0c5c26e938b520563b0ea5caf05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Mon, 18 Jan 2021 04:35:29 +0100 Subject: [PATCH] manual: Element: Fix misleading `base_url`. Judging from `"${pkgs.element-web}/config.sample.json"`, this needs be a URL starting with `https://`; without it one gets: Your Element is misconfigured Invalid base_url for m.homeserver --- nixos/modules/services/misc/matrix-synapse.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/matrix-synapse.xml b/nixos/modules/services/misc/matrix-synapse.xml index 5544c2035fb7..358b631eb485 100644 --- a/nixos/modules/services/misc/matrix-synapse.xml +++ b/nixos/modules/services/misc/matrix-synapse.xml @@ -206,7 +206,7 @@ Success! root = pkgs.element-web.override { conf = { default_server_config."m.homeserver" = { - "base_url" = "${config.networking.domain}"; + "base_url" = "https://${fqdn}"; "server_name" = "${fqdn}"; }; };