Created
April 20, 2020 14:55
-
-
Save tomasmetal23/6ada63e1dfc0c75999c050e1083f8d3a to your computer and use it in GitHub Desktop.
ejemplo de la configuración del archivo .toml del traefik
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
defaultEntryPoints = ["http", "https"] | |
[entryPoints] | |
[entryPoints.dashboard] | |
address = ":8080" | |
[entryPoints.dashboard.auth] | |
[entryPoints.dashboard.auth.basic] | |
users = ["aquituhtpasswd"] #linea 8 | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.redirect] | |
entryPoint = "https" | |
[entryPoints.https] | |
address = ":443" | |
[entryPoints.https.tls] | |
[api] | |
entrypoint="dashboard" | |
#[file] #<<< configuración manual avanzada de backend y frontend | |
# watch = true | |
# filename = "servers.toml" | |
[acme] | |
email = "tucorreo" | |
storage = "acme.json" | |
acmeLogging=true | |
onDemand = false #create certificate when container is created | |
entryPoint = "https" | |
onHostRule = true | |
[acme.httpChallenge] | |
entryPoint = "http" | |
[acme.dnsChallenge] | |
provider = "cloudflare" | |
delayBeforeCheck = 0 | |
[[acme.domains]] | |
main = "*.tudominio.com" | |
sans = ["tudominio.com"] | |
#[[acme.domains]] #<< si queremos usar otro dominio extra | |
#main = "*.dominioextra.com" | |
#sans = ["dominioextra.com"] | |
[docker] | |
domain = "tudominioprincipal.com" | |
watch = true | |
network = "web" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment