refactor
This commit is contained in:
committed by
Joakim Repomaa
parent
983e313e11
commit
7a24ac5fe6
14
hosts/freun.dev/services/owncast.nix
Normal file
14
hosts/freun.dev/services/owncast.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ ... }:
|
||||
let
|
||||
fqdn = "stream.freun.dev";
|
||||
port = 8080;
|
||||
in
|
||||
{
|
||||
services.owncast = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
inherit port;
|
||||
};
|
||||
|
||||
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
|
||||
}
|
||||
Reference in New Issue
Block a user