2024-08-30 01:17:50 -04:00
|
|
|
{outputs, ...}: {
|
2024-08-26 13:07:59 -04:00
|
|
|
services = {
|
|
|
|
owncast = {
|
|
|
|
enable = true;
|
|
|
|
port = 8060;
|
|
|
|
rtmp-port = 1945;
|
|
|
|
listen = "0.0.0.0";
|
|
|
|
};
|
2024-08-30 01:17:50 -04:00
|
|
|
nginx.virtualHosts."live.${outputs.secrets.jimDomain}" = {
|
2024-08-26 13:07:59 -04:00
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
locations."/" = {
|
|
|
|
proxyPass = "http://127.0.0.1:8060";
|
|
|
|
proxyWebsockets = true;
|
|
|
|
};
|
|
|
|
};
|
2024-08-24 22:16:51 -04:00
|
|
|
};
|
|
|
|
}
|