nginx_limit_ip.yml 754 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"
    - "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"


# requests for degraded methods will get http 200 response from nginx directly without passing the request to backend servers.
degrade_methods: