From 31e6b3317a0ded99dd6e8a3174e89a60d958d715 Mon Sep 17 00:00:00 2001
From: Johannes Hendrik Gerard van der Weide
This part is the easiest it is simply enabling it setting an unused port (the default and recommended is 8080) and then let owncast open that part of the firewall.
@@ -400,8 +401,8 @@ that part of the firewall. openFirewall = true; };Nginx is needed to setup a proxy so we can link owncast to our domain and ensure everything will run securely. We begin by setting the (sub)domain that we wish to point at owncast and we enable SSL and ACME. @@ -423,9 +424,8 @@ that to true as wel, the extra config is to ensure our proxy works.
}; };Your entire config should look something like this now at which point you can sudo nixos-rebuild switch!:
{ config, pkgs, ... }:
@@ -452,6 +452,9 @@ you can sudo nixos-rebuild switch!:
};
};
}
+We are not done yet however there is one more this that is required on the nixos side of things and quite a few things in your owncast webpage.
@@ -474,8 +477,8 @@ href="rtmp://yourdomain.net:1935/live" class="uri">rtmp://yourdomain.net:1935/live with the streamkey you just set!