From 091f1266f7bbe054a3645f94d4ced8bd67c113a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 3 Dec 2023 16:34:01 +0100 Subject: [PATCH] grafana: fix websocket --- hosts/grafana/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/grafana/default.nix b/hosts/grafana/default.nix index ce41b534..057d1171 100644 --- a/hosts/grafana/default.nix +++ b/hosts/grafana/default.nix @@ -106,7 +106,13 @@ default = true; enableACME = true; forceSSL = true; - locations = { "/".proxyPass = "http://localhost:3000/"; }; + locations = { + "/".proxyPass = "http://localhost:3000/"; + "/api/live/ws" = { + proxyPass = "http://localhost:3000/"; + proxyWebsockets = true; + }; + }; }; }; };