fix(reverse-proxy): forward WebSocket upgrades #202

Merged
alexion merged 5 commits from fix/reverse-proxy-websockets into main 2026-10-21 00:29:38 -04:00
Showing only changes of commit 2237c3eea3 - Show all commits

View File

@@ -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;
};
};
};