From 3bdd61084bd023cfe699cc98bcc58bf8d3f995ab Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 21 Nov 2022 21:24:56 +0100 Subject: [PATCH] owncast: enable proxyWebsockets --- hosts/owncast/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hosts/owncast/default.nix b/hosts/owncast/default.nix index 37a6170b..e8b1b12c 100644 --- a/hosts/owncast/default.nix +++ b/hosts/owncast/default.nix @@ -27,11 +27,13 @@ forceSSL = true; enableACME = true; - locations."/".proxyPass = + locations."/" = let inherit (config.services.owncast) port; - in - "http://127.0.0.1:${toString port}"; + in { + proxyPass = "http://127.0.0.1:${toString port}"; + proxyWebsockets = true; + }; }; }; }