ansible/roles/traefik/files/conf.d/homeassistant.yaml
2024-11-24 20:38:05 -05:00

25 lines
641 B
YAML

http:
routers:
homeassistant-public:
rule: "Host(`hass.karai.is-a-geek.org`) || Host(`hass.phoenixinquis.is-a-geek.org`)"
entryPoints:
- websecure
tls:
certResolver: dyndns
service: homeassistant
homeassistant-internal:
rule: "Host(`homeassistant.sailmaker.fenix.lgbt`)"
entryPoints:
- websecure
tls:
domains:
- main: "*.sailmaker.fenix.lgbt"
certResolver: fenix.lgbt
service: homeassistant
services:
homeassistant:
loadBalancer:
servers:
- url: "http://192.168.1.13:8123"
passHostHeader: true