basic streaming setup

This commit is contained in:
revol-xut 2022-09-28 08:06:27 +02:00
parent ea8e8ae966
commit 14d1052f63
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07
2 changed files with 3 additions and 3 deletions

View file

@ -62,6 +62,7 @@
./modules/nginx.nix
./modules/hedgedoc.nix
./modules/wiki.nix
./modules/stream.nix
{
sops.defaultSopsFile = ./secrets/durian.yaml;
}

View file

@ -1,6 +1,6 @@
{pkgs, lib, config, ...}:
let
website = fetchFromGithub {
website = pkgs.fetchFromGitHub {
owner = "fsr";
repo = "ese20-ansible";
rev = "1b380f3bfd48aae2a17aefbbdd0538f09b7d3bcf";
@ -24,12 +24,11 @@ in {
locations."/" = let
cfg = config.services.owncast;
in {
proxyPass = "http://${toString cfg.listen}:${toString cfg.post}";
proxyPass = "http://${toString cfg.listen}:${toString cfg.port}";
proxyWebsockets = true;
};
};
};
};
};
owncast = {
enable = true;