-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtraefik.toml
46 lines (38 loc) · 912 Bytes
/
traefik.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[entryPoints.api]
address=":8080"
[entryPoints.api.tls]
[entryPoints.api.auth]
[entryPoints.api.auth.basic]
users = [
"<traefik_admin_username>:<traefik_admin_password>",
]
[api]
entrypoint="api"
[acme]
email = "[email protected]"
storage = "/etc/traefik/acme.json"
entryPoint = "https"
acmeLogging = true
[acme.tlsChallenge]
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "<public_hostname>"
watch = true
[[acme.domains]]
main = "<public_hostname>"
logLevel = "INFO"
[traefikLog]
filePath = "/var/log/traefik.log"
format = "json"
[accessLog]
filePath = "/var/log/access.log"
format = "json"