From 8748f2b80b9f1ebc1efdea9d1faa400dabeb2a14 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 4 Feb 2025 10:24:41 +0100 Subject: [PATCH] feat(nginx): enable websocket support in reverse proxy Enabled `proxyWebsockets` for the nginx reverse proxy configuration to support websocket connections. This ensures compatibility with services requiring websocket communication. --- systems/x86_64-linux/sgx/nginx.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/systems/x86_64-linux/sgx/nginx.nix b/systems/x86_64-linux/sgx/nginx.nix index cf40c1b..c983dda 100644 --- a/systems/x86_64-linux/sgx/nginx.nix +++ b/systems/x86_64-linux/sgx/nginx.nix @@ -27,6 +27,7 @@ forceSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString config.services.open-webui.port}"; + proxyWebsockets = true; }; }; };