forked from wurzel/fruitbasket
format, use domain option
This commit is contained in:
parent
509cfd4121
commit
ce7db4dac5
1 changed files with 18 additions and 17 deletions
|
@ -1,8 +1,8 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
domain = "staging.ifsr.de";
|
domainServer = "matrix.${config.fsr.domain}";
|
||||||
domainServer = "matrix.${domain}";
|
domainClient = "chat.${config.fsr.domain}";
|
||||||
domainClient = "chat.${domain}";
|
|
||||||
clientConfig = {
|
clientConfig = {
|
||||||
"m.homeserver" = {
|
"m.homeserver" = {
|
||||||
base_url = "https://${domainServer}:443";
|
base_url = "https://${domainServer}:443";
|
||||||
|
@ -13,6 +13,7 @@ let
|
||||||
serverConfig = {
|
serverConfig = {
|
||||||
"m.server" = "${domainServer}:443";
|
"m.server" = "${domainServer}:443";
|
||||||
};
|
};
|
||||||
|
|
||||||
mkWellKnown = data: ''
|
mkWellKnown = data: ''
|
||||||
add_header Content-Type application/json;
|
add_header Content-Type application/json;
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
|
Loading…
Add table
Reference in a new issue