traefik.yml 742 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. api:
  2. insecure: true
  3. dashboard: true
  4. providers:
  5. docker:
  6. endpoint: unix:///var/run/docker.sock
  7. entryPoints:
  8. gitssh:
  9. address: ":10022"
  10. web:
  11. address: ":80"
  12. http:
  13. redirections:
  14. entryPoint:
  15. to: websecure
  16. scheme: https
  17. websecure:
  18. address: ":443"
  19. certificatesResolvers:
  20. le:
  21. acme:
  22. email: jason@jasonplayne.com
  23. storage: /etc/traefik/acme.json
  24. httpChallenge:
  25. # used during the challenge
  26. entryPoint: web
  27. #accessLog: {}
  28. metrics:
  29. prometheus: {}
  30. http:
  31. routers:
  32. unifi-protect:
  33. entrypoints:
  34. - websecure
  35. services:
  36. unifi-protect:
  37. loadBalancer:
  38. servers:
  39. - "https://10.10.20.10/protect/liveview/"