2024-07-30 15:06:34 +01:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
imports = [ ./caddy.nix ];
|
2024-05-24 12:14:41 +01:00
|
|
|
services.owncast = {
|
|
|
|
enable = true;
|
|
|
|
port = 9090;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
2024-12-12 07:26:01 +00:00
|
|
|
services.caddy.virtualHosts."stream.xenia.me.uk".extraConfig =
|
|
|
|
"reverse_proxy http://localhost:${config.services.owncast.port}";
|
2024-05-24 12:14:41 +01:00
|
|
|
}
|