From 01924df4faebbaa1497a2c45650162798e3daabf Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 15 May 2025 22:58:29 -0500 Subject: [PATCH] making open-webui proxyWebsockets --- modules/ollama.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ollama.nix b/modules/ollama.nix index c014d6e..b46b459 100644 --- a/modules/ollama.nix +++ b/modules/ollama.nix @@ -31,7 +31,10 @@ in with lib; nginx.virtualHosts.${dn} = { forceSSL = true; enableACME = true; - locations."/".proxyPass = "http://localhost:${toString config.services.open-webui.port}"; + locations."/" = { + proxyPass = "http://localhost:${toString config.services.open-webui.port}"; + proxyWebsockets = true; + }; }; }; }