fix(reverse-proxy): forward WebSocket upgrades

This commit is contained in:
alexion committed 2026-10-21 00:07:01 -04:00
1 parent 771a0df831
commit 2237c3eea3
1 file changed
+4 -1
@@ -71,7 +71,10 @@ let
extraConfig = lib.optionalString (route.clientMaxBodySize != null) ''
client_max_body_size ${route.clientMaxBodySize};
'';
locations."/".proxyPass = mkBackend address port;
locations."/" = {
proxyPass = mkBackend address port;
proxyWebsockets = true;
};
};
};