traefik.toml
· 673 B · TOML
Bruto
[api]
dashboard = true
[entryPoints]
[entryPoints.web]
address = ":80"
# Uncomment this at production for redirecting to HTTPS automatically
# [entryPoints.web.http.redirections.entryPoint]
# to = "websecure"
# scheme = "https"
# permanent = true
[entryPoints.websecure]
address = ":443"
[providers]
[providers.docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
[providers.file]
directory = "/etc/traefik"
filename = "dynamic-conf.toml"
watch = true
[certificatesResolvers.lets-encrypt.acme]
email = "xxx@xxx.com"
storage = "acme.json"
[certificatesResolvers.lets-encrypt.acme.tlsChallenge]
1 | [api] |
2 | dashboard = true |
3 | |
4 | [entryPoints] |
5 | [entryPoints.web] |
6 | address = ":80" |
7 | # Uncomment this at production for redirecting to HTTPS automatically |
8 | # [entryPoints.web.http.redirections.entryPoint] |
9 | # to = "websecure" |
10 | # scheme = "https" |
11 | # permanent = true |
12 | |
13 | [entryPoints.websecure] |
14 | address = ":443" |
15 | |
16 | [providers] |
17 | [providers.docker] |
18 | endpoint = "unix:///var/run/docker.sock" |
19 | watch = true |
20 | |
21 | [providers.file] |
22 | directory = "/etc/traefik" |
23 | filename = "dynamic-conf.toml" |
24 | watch = true |
25 | |
26 | [certificatesResolvers.lets-encrypt.acme] |
27 | email = "xxx@xxx.com" |
28 | storage = "acme.json" |
29 | [certificatesResolvers.lets-encrypt.acme.tlsChallenge] |