ansible/roles/traefik/files/conf.d/homeassistant.yaml

26 lines
641 B
YAML
Raw Normal View History

2024-11-25 01:34:37 +00:00
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