Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http:
- #----------------------: https://doc.traefik.io/traefik/routing/routers/
- routers:
- pihole:
- entryPoints:
- - "http"
- rule: "Host(`pihole.mydomain.com`)"
- middlewares:
- - internal-http-hosts
- service: pihole
- # homeassistant:
- # entryPoints:
- # - "http"
- # rule: "Host(`haos.mydomain.com`)"
- # middlewares:
- # - internal-http-hosts
- # service: homeassistant
- #----------------------: https://doc.traefik.io/traefik/routing/services/
- services:
- pihole:
- loadBalancer:
- servers:
- - url: "http://192.168.2.105"
- passHostHeader: true
- # homeassistant:
- # loadBalancer:
- # servers:
- # - url: "http://192.168.2.99:8123"
- # passHostHeader: true
Advertisement
Add Comment
Please, Sign In to add comment