微慑信息网

宝塔+cloudflare出现521和520错误的解决办法

测试CF中关闭CDN正常访问,打开则520

在 Nginx 防火墙中添加 cloudflare 的 IP 到 IP 白名单

 

 

参考https://blog.csdn.net/h1530687053/article/details/114975849

 

重新整理了规则表,直接导入即可:

[["173.245.48.0","173.245.48.22"],["103.21.244.0","103.21.244.22"],["103.22.200.0","103.22.200.22"],["103.31.4.0","103.31.4.22"],["141.101.64.0","141.101.64.18"],["108.162.192.0","108.162.192.18"],["190.93.240.0","190.93.240.20"],["188.114.96.0","188.114.96.20"],["197.234.240.0","197.234.240.22"],["198.41.128.0","198.41.128.17"],["162.158.0.0","162.158.0.15"],["104.16.0.0","104.16.0.12"],["172.64.0.0","172.64.0.13"],["131.0.72.0","131.0.72.22"],["127.0.0.1","127.0.0.255"]]
本文标题:宝塔+cloudflare出现521和520错误的解决办法
本文链接:
(转载请附上本文链接)
http://vulsee.com/archives/vulsee_2021/0906_14723.html
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » 宝塔+cloudflare出现521和520错误的解决办法
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

微慑信息网 专注工匠精神

访问我们联系我们