Unverified Commit 23c5acad authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

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

nixos/doc: fix .well-known example for matrix-synapse
parents 62ec68fc 8c118951
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;