Created
October 21, 2018 11:18
-
-
Save neilbartley/b34aa33eaf04932a85c804c0ac7f122b to your computer and use it in GitHub Desktop.
Calming App Jams with Træfik - traefik.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debug = false | |
logLevel = "ERROR" | |
defaultEntryPoints = ["https", "http"] | |
# https://docs.traefik.io/configuration/entrypoints/ | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.redirect] # https://docs.traefik.io/configuration/entrypoints/#redirect-http-to-https | |
entryPoint = "https" | |
[entryPoints.https] | |
address = ":443" | |
[entryPoints.https.tls] | |
[entryPoints.dashboard] | |
address = ":8080" | |
[entryPoints.dashboard.auth] | |
[entryPoints.dashboard.auth.basic] # https://docs.traefik.io/configuration/entrypoints/#basic-authentication | |
users = ["admin:$wibble"] | |
[retry] | |
# https://docs.traefik.io/configuration/backends/docker/ | |
[docker] | |
swarmMode = true | |
watch = true | |
exposedByDefault = false | |
# https://docs.traefik.io/configuration/acme/ | |
[acme] | |
email = "[email protected]" | |
storage = "acme.json" | |
entryPoint = "https" | |
onHostRule = true | |
[acme.httpChallenge] | |
entryPoint = "http" | |
# https://docs.traefik.io/configuration/api/ | |
[api] | |
dashboard = true | |
entrypoint = "dashboard" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment