-
-
Save DubhAd/d6d95418ef3b57e282bd556007461fba to your computer and use it in GitHub Desktop.
Traefik file provider config file for Home Assistant on a remote host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http: | |
routers: | |
homeassistant: | |
entryPoints: | |
- "websecure" | |
rule: "Host(`homeassistant.example.org`) && ( PathPrefix(`/api/webhook`) || PathPrefix(`/api/websocket`) || PathPrefix(`/api/telegram_webhooks`) || PathPrefix(`/api/frigate`) || PathPrefix(`/api/tts_proxy/`) )" | |
tls: | |
certResolver: zerossl | |
domains: | |
- main: "homeassistant.example.org" | |
service: homeassistant | |
services: | |
homeassistant: | |
loadBalancer: | |
servers: | |
- url: "http://192.168.1.42:8123" | |
passHostHeader: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment