making open-webui proxyWebsockets
This commit is contained in:
parent
36c1a6ae35
commit
01924df4fa
|
@ -31,7 +31,10 @@ in with lib;
|
||||||
nginx.virtualHosts.${dn} = {
|
nginx.virtualHosts.${dn} = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/".proxyPass = "http://localhost:${toString config.services.open-webui.port}";
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:${toString config.services.open-webui.port}";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue