mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
Merge pull request #222042 from Ma27/fix-matrix-wellknown-example
nixos/doc: fix .well-known example for matrix-synapse
This commit is contained in:
commit
23c5acad6a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user