Update proxy.nix
Deploy NixOS / deploy (push) Successful in 32s

This commit is contained in:
2026-04-01 10:24:23 -06:00
parent 54f09695ea
commit ddb55ff28d
+17 -1
View File
@@ -9,6 +9,7 @@ let
atashDotDev = "atash.dev";
matrixDomain = "matrix.${atriDotDad}";
livekitDomain = "livekit.${atriDotDad}";
upstream = "lloyd.tadpole-pain.ts.net";
streamPorts = [
@@ -32,7 +33,7 @@ let
"org.matrix.msc4143.rtc_foci" = [
{
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"} }
${matrixDomain} {
import relaxed_config
request_body {
max_size 1GB
}
@@ -164,6 +167,19 @@ in
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
}
}
'';
};