-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtraefik.toml
80 lines (69 loc) · 1.76 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
debug = true
checkNewVersion = true
logLevel = "INFO"
InsecureSkipVerify = true
defaultEntryPoints = ["http", "https"]
[web]
address = ":8080"
[web.auth.basic]
users = ["admin:$apr1$RlVd7odD$3CIkrrVPQ2GppKjTg0vcw0"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
#minVersion = "VersionTLS12"
#cipherSuites = [
# "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
# "TLS_RSA_WITH_AES_256_GCM_SHA384"
#]
[[entryPoints.https.tls.certificates]]
certFile = "/home/user/traefik/ssl/lekh_net.crt"
keyFile = "/home/user/traefik/ssl/server.key"
[[entryPoints.https.tls.certificates]]
certFile = "/home/user/traefik/ssl/vlekh.net.crt"
keyFile = "/home/user/traefik/ssl/vlekh.net.key"
[frontends]
[frontend.wp_f]
backend = "wp_b"
passHostHeader = true
[frontend.wp_f.routes.wp_backend]
rule = "Host:wp_f.example.com"
[backends]
[backend.wp_b]
[backend.wp_b.servers.wp_service]
url = "http://wp_service"
[metrics]
# To enable Traefik to export internal metrics to Prometheus
[metrics.prometheus]
# Name of the related entry point
#
# Optional
# Default: "traefik"
#
entryPoint = "traefik"
# Buckets for latency metrics
#
# Optional
# Default: [0.1, 0.3, 1.2, 5]
#
buckets = [0.1,0.3,1.2,5.0]
[docker]
domain = "example.com"
watch = true
# This will hide all docker containers that don't have explicitly
# set label to "enable"
exposedbydefault = false
#
##[acme]
##email = "[email protected]"
##storage = "acme.json"
##entryPoint = "https"
##onHostRule = true
##onDemand = false
##
##[acme.httpChallenge]
## entryPoint = "http"