limit_ip_access.yml
569 Bytes
#switch ture: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,54.222.0.0/16,118.89.221.106/32,123.206.21.19/32,123.206.73.107/32,54.223.0.0/16"
# 1:true-open,false-close, 2:max access , 3:seconds,
ip_qps_limit: "true,60,1"
# 1: max access,2:seconds
interface_ip_qps_limit:
["app.bind.sendThirdBindMobileCodeOnly": "15,2",
"app.bind.sendThirdBindMobileCodeOnlyImg": "15,2",
"app.bind.sendChangeBindMobileCodeOnlyImg": "15,2",
"/smart/way": "20,3" ]