my-runtipi/_traefik/dynamic/rt.ha.yml.shefet

24 lines
636 B
Plaintext
Raw Normal View History

2024-11-25 04:05:29 +00:00
# http routing section
http:
routers:
# Define a connection between requests and services
"to-ha":
2024-12-13 15:54:22 +00:00
rule: "Host(`ha.shefet.net`)"
2024-11-25 04:05:29 +00:00
entrypoints:
- websecure
# # If the rule matches, applies the middleware
# middlewares:
# - test-user
# If the rule matches, forward to the whoami service (declared below)
service: home-assistant
tls:
certresolver: myresolver
services:
# Define how to reach an existing service on our infrastructure
home-assistant:
loadBalancer:
servers:
- url: "http://ha.lan:8123"
#- address: "ha.lan:8123"