Skip to content

Commit 6bbdb37

Browse files
Add Homeassistant (#162)
Co-authored-by: Jonas <[email protected]> Co-authored-by: Techno Tim <[email protected]>
1 parent 02e333c commit 6bbdb37

File tree

1 file changed

+16
-0
lines changed
  • reference_files/traefik-portainer-ssl/traefik

1 file changed

+16
-0
lines changed

reference_files/traefik-portainer-ssl/traefik/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ http:
2929
- https-redirectscheme
3030
tls: {}
3131
service: homebridge
32+
homeassistant:
33+
# For Homeassistant config, check: https://www.home-assistant.io/integrations/http/#reverse-proxies
34+
# This relies on Homeassistant using http. No certs are needed in the Homeassistant config.
35+
entryPoints:
36+
- "https"
37+
rule: "Host(`homeassistant.local.example.com`)"
38+
middlewares:
39+
- default-headers
40+
- https-redirectscheme
41+
tls: {}
42+
service: homeassistant
3243
syncthing:
3344
entryPoints:
3445
- "https"
@@ -129,6 +140,11 @@ http:
129140
servers:
130141
- url: "http://192.168.0.102:10999"
131142
passHostHeader: true
143+
homeassistant:
144+
loadBalancer:
145+
servers:
146+
- url: "http://192.168.0.102:10999"
147+
passHostHeader: true
132148
syncthing:
133149
loadBalancer:
134150
servers:

0 commit comments

Comments
 (0)