-
-
Save cdaringe/ffac907f25b0fef4c4d962bb71b600b6 to your computer and use it in GitHub Desktop.
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
checkNewVersion = false | |
debug = true | |
defaultEntryPoints = ["http", "https"] # fear not, we redirect below | |
logLevel = "DEBUG" | |
watch = true | |
# To redirect an http entrypoint to an https entrypoint (with SNI support): | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.redirect] | |
entryPoint = "https" | |
[entryPoints.https] | |
address = ":443" | |
[entryPoints.https.tls] | |
MinVersion = "VersionTLS12" | |
[[entryPoints.https.tls.certificates]] | |
CertFile = "<path to cert>" | |
KeyFile = "<path to key>" | |
[docker] | |
endpoint = "unix:///var/run/docker.sock" | |
watch = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment