nginx_limit_ip.yml 544 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"
    - "118.89.221.106/32"
    - "123.206.21.19/32" 
    - "123.206.73.107/32" 

# 1:max access , 2:seconds,
ip_qps_limit: "20,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"