-
Notifications
You must be signed in to change notification settings - Fork 1
/
zenproxy.yml
77 lines (72 loc) · 1.67 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
http : 8888
https: 8889
rules:
- name : secure.com
https : true
strategy: random
domain : localhost
query : /private
hosts :
- address : localhost
port : 1981
- 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
statics:
- url : /css
folder : ~/assets/stylesheets
maxage : 60 #1 minute
- url : /img
folder : /avatars
maxage : 3600 #1 hour
- url : /js
folder : ~/assets/javascripts
- 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