Push to see what I still have to remove lol

This commit is contained in:
Jimbo 2025-02-28 14:12:07 -05:00
parent 8c30ba9fea
commit 8d1a992bb2
27 changed files with 25 additions and 337 deletions

View file

@ -0,0 +1,13 @@
{ config, lib, ... }:
{
imports = [ ./nginx ];
config = lib.mkIf config.system.server.enable {
services.owncast = {
enable = true;
port = 8060;
rtmp-port = 1945;
listen = "0.0.0.0";
};
};
}

View file

@ -0,0 +1,11 @@
{ config, lib, ... }:
{
services.nginx.virtualHosts."live.nixfox.ca" = lib.mkIf config.services.owncast.enable {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8060";
proxyWebsockets = true;
};
};
}