caddy int
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user