forked from
lass.pds.lassul.us/superconfig
This repository has no description
429 B
16 lines
1{ config, ... }:
2{
3 services.owncast.enable = true;
4 services.owncast.port = 8081;
5 services.nginx = {
6 enable = true;
7 virtualHosts."cast.lassul.us" = {
8 enableACME = true;
9 forceSSL = true;
10 locations."/".extraConfig = ''
11 proxy_pass http://localhost:${toString config.services.owncast.port};
12 '';
13 };
14 };
15 networking.firewall.allowedTCPPorts = [ config.services.owncast.rtmp-port ];
16}