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; + }; }; }; }