Skip to content

Instantly share code, notes, and snippets.

@michaelkrog
Created December 29, 2016 21:59
Show Gist options
  • Save michaelkrog/acfb947c4c2fcf1d470758da2bd24f79 to your computer and use it in GitHub Desktop.
Save michaelkrog/acfb947c4c2fcf1d470758da2bd24f79 to your computer and use it in GitHub Desktop.
defaultEntryPoints = ["http", "https"]
[acme]
email = "[email protected]"
storage = "acme.json"
entryPoint = "https"
OnHostRule = true
[[acme.domains]]
main = "fyensgade.skveege.com"
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[file]
[backends]
[backends.backend1]
[backends.backend1.circuitbreaker]
expression = "NetworkErrorRatio() > 0.5"
[backends.backend1.servers.server1]
url = "http://engine1.lan:8081"
weight = 10
[frontends]
[frontends.frontend1]
backend = "backend1"
passHostHeader = true
[frontends.frontend1.routes.test_1]
rule = "Host: ci.fyensgade.skveege.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment