CloudflareIP

January 20, 2021 · · 87次阅读

使用Cloudflare限制cdnIP

配置文件输入如下代码:

location / {
  allow   173.245.48.0/20;
  allow   103.21.244.0/22;
  allow   103.22.200.0/22;
  allow   103.31.4.0/22;
  allow   141.101.64.0/18;
  allow   108.162.192.0/18;
  allow   190.93.240.0/20;
  allow   188.114.96.0/20;
  allow   197.234.240.0/22;
  allow   198.41.128.0/17;
  allow   162.158.0.0/15;
  allow   104.16.0.0/12;
  allow   172.64.0.0/13;
  allow   131.0.72.0/22;
  deny    all;
}

喝杯水

none

最后编辑于2个月前

添加新评论

  1. Ran Ran
    2021-01-20 22:41

    回复
    1. SMGoroOutlook SMGoroOutlook
      2021-01-20 22:42

      回复
  2. Ran Ran
    2021-01-20 22:37

    qwq

    回复
    1. 2021-01-20 22:38

      awa?

      回复