nginx_limit_ip.yml
1.87 KB
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
#switch true:open,false:close
is_open: true
# white ip list use ip or ip and subnet mask,eg."172.16.6.230,172.16.6.230/16".
white_ips:
- "172.31.0.0/16"
- "10.66.0.0/16"
- "10.67.0.0/16"
- "118.89.221.106/32"
- "123.206.21.19/32"
- "123.206.73.107/32"
- "218.94.75.58/32"
- "218.94.75.50/32"
- "218.94.77.166/32"
- "152.136.125.38/32"
- "62.234.97.135/32"
- "154.8.237.98/32"
- "154.8.237.161/32"
- "152.136.125.65/32"
- "152.136.146.197/32"
- "152.136.134.49/32"
- "62.234.97.218/32"
- "152.136.134.71/32"
- "62.234.94.69/32"
# 1:max access , 2:seconds,
ip_qps_limit: "200,2"
# 1: max access,2:seconds
degrade_methods:
- "app.invitecode.my"
- "app.coupons.queryUserCouponRemind"
- "app.yohocoin.total"
- "app.home.getInfoNum"
- "app.favorite.getFavoriteCount"
- "app.giftcard.cardNum"
- "app.redpac.redpacNum"
- "app.coupons.getCouponNums"
- "app.coupons.total"
- "app.Shopping.count"
- "app.instalment.condition"
- "app.limitcode.showredpoint"
- "app.grass.getGrassPubAndFavorNum"
- "app.product.shopRecommend.cutprice"
- "app.cutdownprice.top"
- "ufo.order.summary"
- "ufo.deposit.queryUserStorageCount"
- "ufo.seller.orderSummary"
- "ufo.buyer.orderListNums"
- "ufo.user.favoriteNum"
- "ufo.wallet.queryUserWalletInfo"
- "ufo.user.isFavorite,9999991"
- "ufo.product.data.search.recommend"
- "ufo.users.rollNoticeList"
- "ufo.users.noticeList"
- "ufo.asssets.details"
- "ufo.merchant.account"
- "ufo.user.favoriteList"
- "ufo.users.listInboxs"
- "ufo.users.listInboxTypeInfo"
- "ufo.buyer.bid.publish,9999992"
- "ufo.user.favoriteAdd,9999992"
- "ufo.order.videoList"
- "ufo.product.searchWord"
- "ufo.order.videos"
- "ufo.order.getAllCnt,9999991"
- "app.redpac.redpacDetails,9999991""