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