Advertisement
misteralexander

traefik.yml

Dec 6th, 2024
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.23 KB | Source Code | 0 0
  1. api:
  2.   dashboard: true
  3.   debug: true
  4. log:
  5.   level: DEBUG
  6.   filePath: "/var/log/traefik/traefik.log"
  7. entryPoints:
  8.   http:
  9.     address: ":80"
  10.     http:
  11.       redirections:
  12.         entryPoint:
  13.           to: https
  14.           scheme: https
  15.   https:
  16.     address: ":443"
  17. serversTransport:
  18.   insecureSkipVerify: true
  19. providers:
  20.   docker:
  21.     endpoint: "unix:///var/run/docker.sock"
  22.     exposedByDefault: false
  23.   # file:
  24.   #   filename: /config.yml
  25. certificatesResolvers:
  26.   cloudflare:
  27.     acme:
  28.       email: guy@domain.com
  29.       storage: acme.json
  30.       # caServer: https://acme-v02.api.letsencrypt.org/directory # prod (default)
  31.       caServer: https://acme-staging-v02.api.letsencrypt.org/directory # staging
  32.       dnsChallenge:
  33.         provider: cloudflare
  34.         #disablePropagationCheck: true # uncomment this if you have issues pulling certificates through cloudflare, By setting this flag to true disables the need to wait for the propagation of the TXT record to all authoritative name servers.
  35.         #delayBeforeCheck: 60s # uncomment along with disablePropagationCheck if needed to ensure the TXT record is ready before verification is attempted
  36.         resolvers:
  37.          - "1.1.1.1:53"
  38.           - "1.0.0.1:53"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement