blob: 4e41fa92d118b1eee0c06deced8c43781ee9ef5a [file] [log] [blame]
Michel Nederlof734be5f2018-03-13 13:57:49 +01001_dollar: '$'
2salt:
3 minion:
4 enabled: true
5nginx:
6 server:
7 enabled: true
8 extras: false
9 bind:
10 address: 127.0.0.1
11 protocol: tcp
12 site:
13 nginx_proxy_site01:
14 enabled: true
15 type: nginx_proxy
16 name: site01
17 proxy:
18 host: 127.0.0.1
19 port: 808
20 protocol: http
21 host:
22 name: cloudlab.domain.com
23 port: 31337
24 limit:
25 enabled: True
26 ip_whitelist:
27 - 127.0.0.1
28 burst: 600
29 rate: 10r/s
30 nodelay: True
31 subfilters:
32 show_active_instance:
33 input: ${_dollar}{binary_remote_addr}${_dollar}{request_uri}
34 mode: blacklist
35 items:
36 - "~.*servers/detail[?]name=.*&status=ACTIVE"
37 rate: 2r/m
38 burst: 2
39 nodelay: True
40 server_list:
41 input: ${_dollar}{binary_remote_addr}${_dollar}{request_uri}
42 mode: blacklist
43 items:
44 - "~.*servers/detail$"
45 rate: 30r/m
46 burst: 20
47 nodelay: True