-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
34 lines (30 loc) · 917 Bytes
/
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
# config.toml
http_address = "[::]:80"
https_address = "[::]:443"
[[backend_pools]]
matcher = "Host('whoami.localhost')"
addresses = ["127.0.0.1:8080", "127.0.0.1:8081", "127.0.0.1:8082"]
schemes = ["HTTP", "HTTP"]
strategy = { RoundRobin = {} }
[backend_pools.middlewares.HttpsRedirector]
[[backend_pools]]
matcher = "Host('youtube.de') && Path('/admin')"
addresses = ["34.136.183.41"]
schemes = ["HTTP"]
strategy = { RoundRobin = {} }
[backend_pools.middlewares.RateLimiter]
limit = 10
window_sec = 1
[backend_pools.middlewares.Compression]
# simple configration
http_address = "[::]:80"
https_address = "[::]:443"
[[backend_pools]]
matcher = "Host('k8s.xilol.uz')"
addresses = ["34.136.183.44:8080", "34.136.183.44:15040", "34.136.183.44:15030"]
schemes = ["HTTP", "HTTPS"]
strategy = { RoundRobin = {} }
[backend_pools.middlewares.RateLimiter]
limit = 10
window_sec = 1
[backend_pools.middlewares.Compression]