-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtraefik.toml
45 lines (37 loc) · 964 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
defaultEntryPoints = ["http", "https"]
[traefikLog]
filePath = "/var/traefik/traefik.log"
format = "json"
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[acme]
email = "[email protected]"
storage = "/etc/traefik/acme.json"
entryPoint = "https"
[acme.httpChallenge]
entryPoint = "http"
[[acme.domains]]
# main = "example.mu"
# sans = ["www.example.mu", "muemue.example.mu"]
main = "muemue.example.mu"
[file]
watch = true
[backends]
[backends.wp]
[backends.wp.servers]
[backends.wp.servers.server0]
url = "http://wordpress"
weight = 1
[frontends]
[frontends.wp]
backend = "wp"
passHostHeader = true # これをつけないとヘッダ情報がサービス側に飛ばない
[frontends.wp.routes.host]
rule = "Host:muemue.example.mu"
[api]
entryPoint = "traefik"
dashboard = true # WebUIの有効化