forked from CryptoManufaktur-io/solana-rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
traefik-dynamic.sample
35 lines (35 loc) · 1.1 KB
/
traefik-dynamic.sample
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
[http]
[http.routers]
[http.routers.rpc]
entrypoints = ["websecure"]
service = "rpc"
rule = "Host(`solana-main-a.example.com`)"
[http.routers.rpc.tls]
certresolver = "letsencrypt"
[http.routers.rpclb]
entrypoints = ["websecure"]
service = "rpc"
rule = "Host(`solana-main-lb.example.com`)"
[http.routers.rpclb.tls]
certresolver = "letsencrypt"
[http.routers.ws]
entrypoints = ["websecure"]
service = "ws"
rule = "Host(`solana-mainws-a.example.com`)"
[http.routers.ws.tls]
certresolver = "letsencrypt"
[http.routers.wslb]
entrypoints = ["websecure"]
service = "ws"
rule = "Host(`solana-mainws-lb.example.com`)"
[http.routers.wslb.tls]
certresolver = "letsencrypt"
[http.services]
[http.services.rpc]
[http.services.rpc.loadBalancer]
[[http.services.rpc.loadBalancer.servers]]
url = "http://HOSTIP:8899"
[http.services.ws]
[http.services.ws.loadBalancer]
[[http.services.ws.loadBalancer.servers]]
url = "http://HOSTIP:8900"