This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
forked from traefik/traefik
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathosio_middleware_config.toml
96 lines (89 loc) · 2.33 KB
/
osio_middleware_config.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
logLevel = "DEBUG"
defaultEntryPoints = ["http"]
[entryPoints]
[entryPoints.http]
address = ":8000"
[entryPoints.traefik]
address = ":7888"
checkNewVersion = false
[accessLog]
format = "json"
[accessLog.fields.headers]
defaultMode = "keep"
[accessLog.fields.names]
"RequestLine" = "drop"
[accessLog.fields.headers.names]
"Authorization" = "redact"
[ping]
entrypoint = "http"
[api]
entryPoint = "traefik"
[file]
watch = false
[Backends]
[Backends.api1]
[Backends.api1.Servers]
[Backends.api1.Servers.server1]
URL = "http://127.0.0.1:8081"
Weight = 0
[Backends.api2]
[Backends.api2.Servers]
[Backends.api2.Servers.server1]
URL = "http://127.0.0.1:8082"
Weight = 0
[Backends.default]
[Backends.default.Servers]
[Backends.default.Servers.server1]
URL = "http://127.0.0.1:8081"
Weight = 0
[Backends.metrics1]
[Backends.metrics1.Servers]
[Backends.metrics1.Servers.server1]
URL = "http://127.0.0.1:7071"
Weight = 0
[Backends.metrics2]
[Backends.metrics2.Servers]
[Backends.metrics2.Servers.server1]
URL = "http://127.0.0.1:7072"
Weight = 0
[Frontends]
[Frontends.api1]
Backend = "api1"
PassHostHeader = false
PassTLSCert = false
Priority = 0
[Frontends.api1.Routes]
[Frontends.api1.Routes.test_1]
Rule = "Headers:Target,http://127.0.0.1:8081"
[Frontends.api2]
Backend = "api2"
PassHostHeader = false
PassTLSCert = false
Priority = 0
[Frontends.api2.Routes]
[Frontends.api2.Routes.test_1]
Rule = "Headers:Target,http://127.0.0.1:8082"
[Frontends.default]
Backend = "default"
PassHostHeader = false
PassTLSCert = false
Priority = 0
[Frontends.default.Routes]
[Frontends.default.Routes.test_1]
Rule = "Headers:Target,default"
[Frontends.metrics1]
Backend = "metrics1"
PassHostHeader = false
PassTLSCert = false
Priority = 0
[Frontends.metrics1.Routes]
[Frontends.metrics1.Routes.test_1]
Rule = "Headers:Target,http://127.0.0.1:7071"
[Frontends.metrics2]
Backend = "metrics2"
PassHostHeader = false
PassTLSCert = false
Priority = 0
[Frontends.metrics2.Routes]
[Frontends.metrics2.Routes.test_1]
Rule = "Headers:Target,http://127.0.0.1:7072"