-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtraefik.toml
49 lines (40 loc) · 1.05 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
debug = false
logLevel = "INFO"
defaultEntryPoints = ["https","http"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[api]
[docker]
watch = true
exposedByDefault = false
[acme]
email = "[email protected]"
storage = "/etc/traefik/acme/acme.json"
OnHostRule=true
acmeLogging = true
entryPoint = "https"
[acme.httpChallenge]
entryPoint = "http"
[file]
[backends.testnet_api]
[backends.testnet_api.servers.server]
url = "https://testnet.api.bitlum.io"
[backends.mainnet_api]
[backends.mainnet_api.servers.server]
url = "https://api.bitlum.io"
[frontends.testnet_api_passthrough]
backend = "testnet_api"
priority = 11
[frontends.testnet_api_passthrough.routes.main]
rule = "Host:testnet.bitlum.io;PathPrefixStrip:/api/"
[frontends.mainnet_api_passthrough]
backend = "mainnet_api"
priority = 11
[frontends.mainnet_api_passthrough.routes.main]
rule = "Host:mainnet.bitlum.io;PathPrefixStrip:/api/"