caddy int

This commit is contained in:
mjallen18
2026-04-09 14:57:27 -05:00
parent b73ad049e7
commit 7cc6732a7e
4 changed files with 171 additions and 3 deletions

View File

@@ -64,6 +64,26 @@ in
security.tpm.enable = true;
services = {
caddy-internal = {
enable = true;
proxies = {
esphome = {
subdomain = "esphome";
upstream = "http://127.0.0.1:${toString net.ports.nuc.esphome}";
};
otbr = {
subdomain = "otbr";
upstream = "http://127.0.0.1:${toString net.ports.nuc.otbr}";
};
# hass is currently proxied by the NAS Caddy (modules/nixos/services/caddy).
# To migrate it here, remove the @hass block from that module and add:
# hass = {
# subdomain = "hass";
# upstream = "http://127.0.0.1:${toString net.ports.nuc.homeAssistant}";
# };
};
};
home-assistant = {
enable = true;
automation = {