This commit is contained in:
@@ -4,12 +4,10 @@ let
|
||||
serverName = "atri.dad";
|
||||
matrixDomain = "matrix.atri.dad";
|
||||
|
||||
# .well-known/matrix/server JSON (served from atri.dad for delegation)
|
||||
wellKnownServer = builtins.toJSON {
|
||||
"m.server" = "${matrixDomain}:443";
|
||||
};
|
||||
|
||||
# .well-known/matrix/client JSON (served from atri.dad for delegation)
|
||||
wellKnownClient = builtins.toJSON {
|
||||
"m.homeserver" = {
|
||||
base_url = "https://${matrixDomain}";
|
||||
@@ -373,7 +371,6 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
# Matrix
|
||||
"matrix.atri.dad" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
@@ -387,12 +384,10 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
# LiveKit WebRTC signaling domain (MatrixRTC)
|
||||
"matrixrtc.atri.dad" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
# lk-jwt-service
|
||||
locations."~ ^(/sfu/get|/healthz)" = {
|
||||
priority = 400;
|
||||
proxyPass = "http://[::1]:${toString config.services.lk-jwt-service.port}";
|
||||
@@ -403,7 +398,6 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
# livekit
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:${toString config.services.livekit.settings.port}";
|
||||
proxyWebsockets = true;
|
||||
@@ -416,7 +410,6 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
# atash.dev hosts
|
||||
"atash.dev" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
Reference in New Issue
Block a user