nginx_limit_ip.yml 639 Bytes
#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"

# 1:max access , 2:seconds,
ip_qps_limit: "100,2"

# 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"