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