mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03: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
1 changed files with 1 additions and 4 deletions
|
@ -27,10 +27,7 @@ please refer to the
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
let
|
let
|
||||||
fqdn = "${config.networking.hostName}.${config.networking.domain}";
|
fqdn = "${config.networking.hostName}.${config.networking.domain}";
|
||||||
clientConfig = {
|
clientConfig."m.homeserver".base_url = "https://${fqdn}";
|
||||||
"m.homeserver".base_url = "https://${fqdn}";
|
|
||||||
"m.identity_server" = {};
|
|
||||||
};
|
|
||||||
serverConfig."m.server" = "${fqdn}:443";
|
serverConfig."m.server" = "${fqdn}:443";
|
||||||
mkWellKnown = data: ''
|
mkWellKnown = data: ''
|
||||||
add_header Content-Type application/json;
|
add_header Content-Type application/json;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue