From 154c02cb632ab093208a3eb97af8bd319932797a Mon Sep 17 00:00:00 2001 From: teutat3s Date: Fri, 3 Nov 2023 12:21:51 +0100 Subject: [PATCH] fix: enable websockets for collabora --- hosts/nachtigall/apps/collabora.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/hosts/nachtigall/apps/collabora.nix b/hosts/nachtigall/apps/collabora.nix index e126fd0..b28c5c7 100644 --- a/hosts/nachtigall/apps/collabora.nix +++ b/hosts/nachtigall/apps/collabora.nix @@ -9,10 +9,13 @@ enableACME = true; forceSSL = true; - locations."/".extraConfig = '' - proxy_pass http://127.0.0.1:9980; - proxy_set_header Host $host; - ''; + locations."/" = { + proxyWebsockets = true; + extraConfig = '' + proxy_pass http://127.0.0.1:9980; + proxy_set_header Host $host; + ''; + }; }; virtualisation = {