jaysun_n

dynamic/hosts-http.yaml

Jul 18th, 2025
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. http:
  2.  
  3. #----------------------: https://doc.traefik.io/traefik/routing/routers/
  4. routers:
  5.  
  6. pihole:
  7. entryPoints:
  8. - "http"
  9. rule: "Host(`pihole.mydomain.com`)"
  10. middlewares:
  11. - internal-http-hosts
  12. service: pihole
  13.  
  14. # homeassistant:
  15. # entryPoints:
  16. # - "http"
  17. # rule: "Host(`haos.mydomain.com`)"
  18. # middlewares:
  19. # - internal-http-hosts
  20. # service: homeassistant
  21.  
  22. #----------------------: https://doc.traefik.io/traefik/routing/services/
  23. services:
  24.  
  25. pihole:
  26. loadBalancer:
  27. servers:
  28. - url: "http://192.168.2.105"
  29. passHostHeader: true
  30.  
  31. # homeassistant:
  32. # loadBalancer:
  33. # servers:
  34. # - url: "http://192.168.2.99:8123"
  35. # passHostHeader: true
Advertisement
Add Comment
Please, Sign In to add comment