Merge pull request #222042 from Ma27/fix-matrix-wellknown-example

nixos/doc: fix .well-known example for matrix-synapse
This commit is contained in:
Maximilian Bosch 2023-03-19 21:44:19 +01:00 committed by GitHub
commit 23c5acad6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,10 +27,7 @@ please refer to the
{ pkgs, lib, config, ... }:
let
fqdn = "${config.networking.hostName}.${config.networking.domain}";
clientConfig = {
"m.homeserver".base_url = "https://${fqdn}";
"m.identity_server" = {};
};
clientConfig."m.homeserver".base_url = "https://${fqdn}";
serverConfig."m.server" = "${fqdn}:443";
mkWellKnown = data: ''
add_header Content-Type application/json;