44 lines
892 B
TOML
44 lines
892 B
TOML
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":80"
|
|
|
|
[entryPoints.web.http]
|
|
[entryPoints.web.http.redirections]
|
|
[entryPoints.web.http.redirections.entryPoint]
|
|
to = "websecure"
|
|
scheme = "https"
|
|
|
|
[entryPoints.websecure]
|
|
address = ":443"
|
|
|
|
[log]
|
|
level = "WARN"
|
|
|
|
[accessLog]
|
|
|
|
[metrics]
|
|
[metrics.prometheus]
|
|
addEntryPointsLabels = true
|
|
addServicesLabels = true
|
|
addRoutersLabels = true
|
|
|
|
[api]
|
|
dashboard = true
|
|
insecure = false
|
|
|
|
[certificatesResolvers.lets-encrypt.acme]
|
|
email = "raiffysampaio@gmail.com"
|
|
storage = "/acme.json"
|
|
keyType = "RSA4096"
|
|
|
|
[certificatesResolvers.lets-encrypt.acme.tlsChallenge] # Correção aqui
|
|
# tlsChallenge ativado corretamente
|
|
|
|
[providers.docker]
|
|
watch = true
|
|
network = "traefik_network"
|
|
exposedByDefault = false
|
|
|
|
[providers.file]
|
|
filename = "/traefik_dynamic.toml"
|
|
watch = true |