From 3f21912c7d8a32b15560a0955391eed39be15230 Mon Sep 17 00:00:00 2001 From: sid Date: Tue, 5 May 2026 15:41:27 +0200 Subject: [PATCH] trying to fix open-webui websocket request --- hosts/sid/services/nginx.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/sid/services/nginx.nix b/hosts/sid/services/nginx.nix index c58db9b..4ad3269 100644 --- a/hosts/sid/services/nginx.nix +++ b/hosts/sid/services/nginx.nix @@ -19,6 +19,15 @@ in enable = true; openFirewall = true; forceSSL = ssl; + + commonHttpConfig = '' + map $http_upgrade $connection_upgrade { + default upgrade; + "" 'close'; + } + access_log syslog:server=unix:/dev/log; + ''; + virtualHosts."_" = { forceSSL = false; locations."/.well-known/acme-challenge/" = {