-
Notifications
You must be signed in to change notification settings - Fork 5
/
traefik.toml
38 lines (32 loc) · 917 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
logLevel = "DEBUG"
defaultEntryPoints = ["http", "https"]
#RootCAs = [ "/mycert.cert" ]
InsecureSkipVerify = false
[web]
address = ":8080"
# [web]
# address = ":8443"
# ReadOnly = false
# CertFile = "ssl/wildcard.example.com.crt"
# KeyFile = "ssl/wildcard.example.com.key"
# [web.auth.basic]
# usersFile = ".htpasswd"
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
CertFile = "ssl/wildcard.api.example.com.crt"
KeyFile = "ssl/wildcard.api.example.com.key"
[[entryPoints.https.tls.certificates]]
CertFile = "ssl/wildcard.example.com.crt"
KeyFile = "ssl/wildcard.example.com.key"
[consulCatalog]
endpoint = "127.0.0.1:8500"
domain = "example.com"
prefix = "traefik"
constraints = ["tag==kubernetes"]