-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathtraefik.toml
63 lines (51 loc) · 1.26 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
debug = false
logLevel = "WARN"
defaultEntryPoints = ["https","http"]
insecureSkipVerify = true
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":8443"
[entryPoints.https.tls]
minVersion = "VersionTLS12"
cipherSuites = [
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
"TLS_RSA_WITH_AES_256_GCM_SHA384"
]
[entryPoints.api]
address = ":8888"
[api]
entryPoint = "api"
dashboard = true
[retry]
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "CHANGEME"
watch = true
exposedByDefault = false
[acme]
email = "CHANGEME"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
[acme.httpChallenge]
entryPoint = "http"
[file]
[backends]
[backends.backend1]
[backends.backend1.servers.server1]
url = "http://127.0.0.1:8888"
[frontends]
[frontends.frontend1]
entryPoints = ["https"]
backend = "backend1"
basicAuth = [
# Example with 123qweasd as the password (CHANGEME)
"unifi:$2y$05$xVd0Bq7yun1kTS8fyIoA/.xoS3gdgNg9fzHPxhjRTjLiEETXzvXJC"
]
[frontends.frontend1.routes]
[frontends.frontend1.routes.route0]
rule = "PathPrefixStrip:/traefik"