moved _copy_to_traefik into _traefik.dynamic

It will be the permanent location of the dynamic traefik config
This commit is contained in:
Lockszmith (runtipi@kateryna) 2024-12-04 20:09:16 -05:00 committed by Lockszmith (@kateryna)
parent ff5c949f5d
commit a31e7c6cd3
9 changed files with 4 additions and 347 deletions

View file

@ -0,0 +1,23 @@
# http routing section
http:
routers:
# Define a connection between requests and services
"to-ha":
rule: "Host(`ha.lksz.me`)"
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"