Ostatnio aktywny 11 months ago

Traefik Configuration in TOML Format

supanadit zrewidował ten Gist 11 months ago. Przejdź do rewizji

Brak zmian

supanadit zrewidował ten Gist 11 months ago. Przejdź do rewizji

1 file changed, 29 insertions

traefik.toml(stworzono plik)

@@ -0,0 +1,29 @@
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]
Nowsze Starsze