diff --git a/ansible/roles/traefik/files/file-provider-homeassistant.yml b/ansible/roles/traefik/files/file-provider-homeassistant.yml index 684df1d..a9f3f00 100644 --- a/ansible/roles/traefik/files/file-provider-homeassistant.yml +++ b/ansible/roles/traefik/files/file-provider-homeassistant.yml @@ -3,6 +3,8 @@ http: router-homeassistant: rule: Host(`homeassistant.jakehoward.tech`) service: service-homeassistant + middlewares: + - tailscale-only@file services: service-homeassistant: loadBalancer: diff --git a/terraform/jakehoward.tech.tf b/terraform/jakehoward.tech.tf index df12f84..b2df293 100644 --- a/terraform/jakehoward.tech.tf +++ b/terraform/jakehoward.tech.tf @@ -127,7 +127,7 @@ resource "cloudflare_record" "jakehowardtech_calibre" { resource "cloudflare_record" "jakehowardtech_homeassistant" { zone_id = cloudflare_zone.jakehowardtech.id name = "homeassistant" - value = cloudflare_record.sys_domain_pve.hostname + value = cloudflare_record.sys_domain_private.hostname type = "CNAME" ttl = 1 }