Skip to content

Commit 704f0e2

Browse files
committed
develop: proxy websockets for open-webui reverse proxy
1 parent 0708bda commit 704f0e2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/nixos/open-webui/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ in
6262
services.nginx.virtualHosts."${fqdn}" = {
6363
enableACME = cfg.forceSSL;
6464
forceSSL = cfg.forceSSL;
65-
locations."/".proxyPass = "http://localhost:${toString cfg.port}";
65+
locations."/" = {
66+
proxyPass = "http://localhost:${toString cfg.port}";
67+
proxyWebsockets = true;
68+
};
6669
};
6770
};
6871
}

0 commit comments

Comments
 (0)