-
Notifications
You must be signed in to change notification settings - Fork 1
/
traefik.toml
39 lines (34 loc) · 898 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
[api]
[docker]
domain = "localhost"
watch = true
[file]
[backends]
[backends.veh]
[backends.veh.servers.server1]
url = "http://www:3000"
weight = 1
[backends.go_api]
[backends.go_api.servers.server1]
url = "http://godev:8080"
weight = 1
[backends.go_bk]
[backends.go_bk.servers.server1]
url = "http://godev:9000"
weight = 1
[frontends]
[frontends.production]
backend = "veh"
passHostHeader = true
[frontends.production.routes.test_1]
rule = "Host:www.vehiculum.de,admin.vehiculum.de"
[frontends.go_api]
backend = "go_api"
passHostHeader = true
[frontends.go_api.routes.test_1]
rule = "Host:api.godev.localhost,ws.veh.localhost"
[frontends.go_bk]
backend = "go_bk"
passHostHeader = true
[frontends.go_bk.routes.test_1]
rule = "Host:bk.godev.localhost"