# 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"