git.iko.soy/typeable/nixpkgs
on master help sign in
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

commitb954e0a12f5f0c5c26e938b520563b0ea5caf05f authorNiklas Hambüchen <mail@nh2.me> dateMon 18 Jan 2021, 04:35 (6 years ago) parente134019
1 file changed+1−1
nixos/modules/services/misc/matrix-synapse.xml+1−1
nixos/modules/services/misc/matrix-synapse.xml+1−1
@@ -206,7 +206,7 @@ Success!
206206 <link linkend="opt-services.nginx.virtualHosts._name_.root">root</link> = pkgs.element-web.override {
207207 conf = {
208208 default_server_config."m.homeserver" = {
209− "base_url" = "${config.networking.domain}";
209+ "base_url" = "https://${fqdn}";
210210 "server_name" = "${fqdn}";
211211 };
212212 };