summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2021-01-18 04:35:29 +0100
committerNiklas Hambüchen <mail@nh2.me>2021-01-18 04:43:32 +0100
commitb954e0a12f5f0c5c26e938b520563b0ea5caf05f (patch)
tree2fd486ce3038160936919b188d79a4c1a5f35021 /nixos/modules
parente1340190a9691bb236793dfd78a055cc7f0fb147 (diff)
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
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/misc/matrix-synapse.xml2
1 files changed, 1 insertions, 1 deletions
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!
<link linkend="opt-services.nginx.virtualHosts._name_.root">root</link> = pkgs.element-web.override {
conf = {
default_server_config."m.homeserver" = {
- "base_url" = "${config.networking.domain}";
+ "base_url" = "https://${fqdn}";
"server_name" = "${fqdn}";
};
};