adding open-webui

This commit is contained in:
Chris Cochrun 2025-05-15 21:49:34 -05:00
parent d53469181e
commit 14a80888a4

View file

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