adding open-webui
This commit is contained in:
parent
d53469181e
commit
14a80888a4
|
@ -1,6 +1,8 @@
|
|||
{ config, lib, pkgs, unstable, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
dn = "chatai.tfcconnection.org";
|
||||
in with lib;
|
||||
{
|
||||
services = {
|
||||
ollama = {
|
||||
|
@ -26,5 +28,10 @@ with lib;
|
|||
# ];
|
||||
# };
|
||||
};
|
||||
nginx.virtualHosts.${dn} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass = "http://localhost:${toString config.services.open-webui.port}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue