+17
-1
@@ -9,6 +9,7 @@ let
|
|||||||
atashDotDev = "atash.dev";
|
atashDotDev = "atash.dev";
|
||||||
|
|
||||||
matrixDomain = "matrix.${atriDotDad}";
|
matrixDomain = "matrix.${atriDotDad}";
|
||||||
|
livekitDomain = "livekit.${atriDotDad}";
|
||||||
|
|
||||||
upstream = "lloyd.tadpole-pain.ts.net";
|
upstream = "lloyd.tadpole-pain.ts.net";
|
||||||
streamPorts = [
|
streamPorts = [
|
||||||
@@ -32,7 +33,7 @@ let
|
|||||||
"org.matrix.msc4143.rtc_foci" = [
|
"org.matrix.msc4143.rtc_foci" = [
|
||||||
{
|
{
|
||||||
type = "livekit";
|
type = "livekit";
|
||||||
livekit_service_url = "https://${matrixDomain}/livekit/jwt";
|
livekit_service_url = "https://${livekitDomain}";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -156,6 +157,8 @@ in
|
|||||||
chronus.${atashDotDev} { ${mkProxy 7337 "strict_config"} }
|
chronus.${atashDotDev} { ${mkProxy 7337 "strict_config"} }
|
||||||
|
|
||||||
${matrixDomain} {
|
${matrixDomain} {
|
||||||
|
import relaxed_config
|
||||||
|
|
||||||
request_body {
|
request_body {
|
||||||
max_size 1GB
|
max_size 1GB
|
||||||
}
|
}
|
||||||
@@ -164,6 +167,19 @@ in
|
|||||||
reverse_proxy http://${upstream}:30394
|
reverse_proxy http://${upstream}:30394
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${livekitDomain} {
|
||||||
|
import relaxed_config
|
||||||
|
|
||||||
|
@jwt path /sfu/get /healthz /get_token
|
||||||
|
handle @jwt {
|
||||||
|
reverse_proxy http://${upstream}:8081
|
||||||
|
}
|
||||||
|
|
||||||
|
handle {
|
||||||
|
reverse_proxy http://${upstream}:7880
|
||||||
|
}
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user