Skip to content

Instantly share code, notes, and snippets.

@evandhoffman
Created June 14, 2016 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evandhoffman/55fcfeb83ce4e1330cd497dd9f749126 to your computer and use it in GitHub Desktop.
Save evandhoffman/55fcfeb83ce4e1330cd497dd9f749126 to your computer and use it in GitHub Desktop.
logLevel = "DEBUG"
traefiklogsfile = "traefik.log"
accesslogsfile = "access.log"
defaultEntryPoints = ["http"]
[web]
address = ":8088"
[entryPoints]
[entryPoints.http]
address = ":8080"
[backends]
[backends.backend1]
[backends.backend1.circuitbreaker]
expression = "NetworkErrorRatio() > 0.5"
[backends.backend1.servers.server1]
url = "http://localhost:8081"
weight = 1
[frontends]
[frontends.frontend1]
backend = "backend1"
entrypoints = ["http"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment