Push these changes to a branch cause I'm kind of giving up
This commit is contained in:
parent
d9469fc321
commit
e3bacb2d84
229 changed files with 1496 additions and 1479 deletions
12
system/services/social/owncast/default.nix
Normal file
12
system/services/social/owncast/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ outputs, ... }: {
|
||||
imports = [
|
||||
./nginx
|
||||
];
|
||||
|
||||
services.owncast = {
|
||||
enable = true;
|
||||
port = 8060;
|
||||
rtmp-port = 1945;
|
||||
listen = "0.0.0.0";
|
||||
};
|
||||
}
|
10
system/services/social/owncast/nginx/default.nix
Normal file
10
system/services/social/owncast/nginx/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ outputs, ... }: {
|
||||
services.nginx.virtualHosts."live.${outputs.secrets.jimDomain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8060";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue