Compare commits

..

No commits in common. "3afb54f4d76f23003689ce0ca7f2f04425c11b12" and "f600b46464a913c0d2b751543cd1ee864d9bb95e" have entirely different histories.

3 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,8 @@
{ config {
, ... pkgs,
lib,
config,
...
}: }:
{ {
sops.secrets.internetbs = { sops.secrets.internetbs = {
@ -14,12 +17,8 @@
credentialsFile = config.sops.secrets.internetbs.path; credentialsFile = config.sops.secrets.internetbs.path;
}; };
certs = { certs = {
"internal.hoyer.world" = { "openwebui.hoyer.world" = { };
extraDomainNames = [ "syncthing.hoyer.world" = { };
"openwebui.hoyer.world"
"syncthing.hoyer.world"
];
};
}; };
}; };
} }

View file

@ -1,5 +1,8 @@
{ config {
, ... pkgs,
lib,
config,
...
}: }:
{ {
users.users.nginx.extraGroups = [ "acme" ]; users.users.nginx.extraGroups = [ "acme" ];
@ -20,7 +23,7 @@
virtualHosts = { virtualHosts = {
"openwebui.hoyer.world" = { "openwebui.hoyer.world" = {
enableACME = false; enableACME = false;
useACMEHost = "internal.hoyer.world"; useACMEHost = "openwebui.hoyer.world";
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.open-webui.port}"; proxyPass = "http://127.0.0.1:${toString config.services.open-webui.port}";
@ -29,7 +32,7 @@
}; };
"syncthing.hoyer.world" = { "syncthing.hoyer.world" = {
enableACME = false; enableACME = false;
useACMEHost = "internal.hoyer.world"; useACMEHost = "syncthing.hoyer.world";
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:8384"; proxyPass = "http://127.0.0.1:8384";

View file

@ -3,14 +3,12 @@
services.open-webui = { services.open-webui = {
enable = true; enable = true;
port = 8080; port = 8080;
host = "127.0.0.1"; host = "0.0.0.0";
environment = { environment = {
ANONYMIZED_TELEMETRY = "False"; ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True"; DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True"; SCARF_NO_ANALYTICS = "True";
ENABLE_OLLAMA_API = "True";
OLLAMA_API_BASE_URL = "http://m4.local:11434"; OLLAMA_API_BASE_URL = "http://m4.local:11434";
ENABLE_OPENAI_API = "False";
# Disable authentication # Disable authentication
WEBUI_AUTH = "False"; WEBUI_AUTH = "False";
}; };