SHARE
TWEET

Untitled

a guest Jul 11th, 2019 736 in 17 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. debug = false
  2.  
  3. logLevel = "ERROR" #DEBUG, INFO, WARN, ERROR, FATAL, PANIC
  4. InsecureSkipVerify = true
  5. defaultEntryPoints = ["https","http"]
  6.  
  7. # Force HTTPS
  8. [entryPoints]
  9.   [entryPoints.http]
  10.   address = ":80"
  11.     [entryPoints.http.redirect]
  12.     entryPoint = "https"
  13.   [entryPoints.https]
  14.   address = ":443"
  15.   [entryPoints.https.tls]
  16.  
  17. [retry]
  18.  
  19. # WEB interface of Traefik - it will show web page with overview of frontend and backend configurations
  20. [api]
  21.   entryPoint = "traefik"
  22.   dashboard = true
  23.   address = ":8080"
  24.  
  25. [file]
  26. filename = "servers.toml"
  27. watch = true
  28.  
  29.  
  30. # Connection to docker host system (docker.sock)   
  31. [docker]
  32. endpoint = "unix:///var/run/docker.sock"
  33. domain = "domain.com"
  34. watch = true
  35. exposedByDefault = false
  36.  
  37.  
  38. # Let's encrypt configuration
  39. [acme]
  40. email = "jrniemand@gmail.com"
  41. storage = "/etc/traefik/acme.json"
  42. entryPoint = "https"
  43. acmeLogging=true
  44. onDemand = false #create certificate when container is created
  45. [acme.dnsChallenge]
  46.   provider = "cloudflare"
  47.   delayBeforeCheck = 300
  48. [[acme.domains]]
  49.    main = "domain.com"
  50. [[acme.domains]]
  51.    main = "*.domain.com"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top