From 9898e35208835ce50a9ba993e212fe297b931623 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 29 Oct 2023 23:04:11 +0100 Subject: [PATCH] fix: enable websockets in nginx for owncast --- hosts/nachtigall/apps/owncast.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/nachtigall/apps/owncast.nix b/hosts/nachtigall/apps/owncast.nix index 42cbde1..76296da 100644 --- a/hosts/nachtigall/apps/owncast.nix +++ b/hosts/nachtigall/apps/owncast.nix @@ -8,8 +8,10 @@ services.nginx.virtualHosts."stream.pub.solar" = { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:5000"; - proxyWebsockets = true; + locations."/" = { + proxyPass = "http://127.0.0.1:5000"; + proxyWebsockets = true; + }; }; # Owncast