refactor: update host binding and consolidate ACME domains

- Change OpenWebUI host binding from 0.0.0.0 to 127.0.0.1 for security.
- Consolidate ACME certificates under internal.hoyer.world with extra domain names.
- Update Nginx virtual hosts to use the unified ACME host internal.hoyer.world.
This commit is contained in:
Harald Hoyer 2025-03-15 15:01:28 +01:00
parent f600b46464
commit 3e1745954f
3 changed files with 13 additions and 15 deletions

View file

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