-
Notifications
You must be signed in to change notification settings - Fork 6
/
traefik.toml
49 lines (39 loc) · 969 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
47
48
################################################################
# Global configuration
################################################################
# Enable debug mode
# debug = true
# Log level
logLevel = "INFO"
defaultEntryPoints = ["http", "https"]
[api]
[acme]
email = "[email protected]" # Just set that as a CLI argument!
storage = "acme.json"
acmeLogging = true
OnHostRule=true
entryPoint = "https"
[acme.httpChallenge]
entryPoint = "http"
[entryPoints]
[entryPoints.traefik]
address = ":8080"
[entryPoints.traefik.auth]
[entryPoints.traefik.auth.digest]
users = ["REPLACE_ME"]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[retry]
# Enable Docker configuration backend
[docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
exposedByDefault = false
[metrics]
[metrics.prometheus]
entryPoint = "traefik"