Advertisement
Plaidstallion

traefik entrypoint

Nov 24th, 2020 (edited)
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. entryPoints:
  2. web:
  3. address: ":80"
  4. forwardedHeaders:
  5. # Allow these IPs to set the X-Forwarded-* headers - Cloudflare IPs: https://www.cloudflare.com/ips/
  6. trustedIPs:
  7. - "173.245.48.0/20"
  8. http:
  9. redirections:
  10. entryPoint:
  11. to: websecure
  12. scheme: https
  13. websecure:
  14. address: ":443"
  15. http:
  16. tls:
  17. certResolver: cloudflare
  18. domains:
  19. - main: <mydomain>.com
  20. sans:
  21. - "*.<mydomain>.com"
  22.  
  23. certificatesResolvers:
  24. cloudflare:
  25. acme:
  26. email: <email>@gmail.com
  27. # caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
  28. storage: acme.json
  29. dnsChallenge:
  30. provider: cloudflare
  31. resolvers:
  32. - "1.1.1.1:53"
  33. - "1.0.0.1:53"
  34. http:
  35. acme:
  36. email: <email>@gmail.com
  37. storage: acme.json
  38. httpChallenge:
  39. entryPoint: http
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement