forked from soyjavi/zen-proxy-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzenproxy.yml
58 lines (54 loc) · 1.24 KB
/
zenproxy.yml
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
port : 8888
rules:
- name : sub.domain.com
strategy: random
domain : localhost
query : /random
hosts:
- address : localhost
port : 1981
- address : localhost
port : 1982
- address : localhost
port : 1983
- address : localhost
port : 1984
- address : localhost
port : 1985
- name : domain.com
strategy: roundrobin
domain : 127.0.0.1
query : /roundrobin
hosts:
- address : localhost
port : 1986
- address : 127.0.0.1
port : 1987
- address : localhost
port : 1988
- address : 127.0.0.1
port : 1989
- address : localhost
port : 1990
- name : dominio.es
strategy: roundrobin
domain : localhost
query : /regex/prefix-.*/hello-.*
hosts:
- address : localhost
port : 1987
- name : redirect
strategy: roundrobin
domain : localhost
query : /redirect
hosts:
- address : localhost
port : 2001
- name : subdomains
strategy : roundrobin
domain : my-domain.com
subdomain : "test"
query : /
hosts:
- address : localhost
port : 1337