proxy/config/endpoints/livekit_local.nix
Katharina Heidenreich eee6905637 feat: add livekit
2026-04-05 20:25:28 +02:00

29 lines
514 B
Nix

let
serviceConfig = import ../services.nix;
cfg = serviceConfig.livekit;
in
[
{
type = "proxy";
listenPort = 443;
domain = cfg.domain;
endpoint = "/livekit/jwt/";
force_ssl = true;
content = {
host = "127.0.0.1";
port = cfg.jwt_port;
};
}
{
type = "proxy";
listenPort = 443;
domain = cfg.domain;
endpoint = "/livekit/sfu/";
force_ssl = true;
content = {
host = "127.0.0.1";
port = cfg.port;
websocket = true;
};
}
]