共计 1210 个字符,预计需要花费 4 分钟才能阅读完成。
plesk 太难了。。。 现在全是 cf 过来的 ip https://support.plesk.com/hc/en-us/articles/360025828373 |
网友回复:
注册 : 难道就我转 plesk 了?
我是坏虫 : 我也转了,也没发现怎么搞
我是坏虫 : 不给你看,哈哈
Lish: 不行只能滚回宝塔了
菜单 : 改一下 nginx 配置文件
我是坏虫 : 很久没用 CF 了,手搓一个你试试 nginx config 里加上 set_real_ip_from 103.21.244.0/22; set_real_ip_from 103.22.200.0/22; set_real_ip_from 103.31.4.0/22; set_real_ip_from 104.16.0.0/13; set_real_ip_from 104.24.0.0/14; set_real_ip_from 108.162.192.0/18; set_real_ip_from 131.0.72.0/22; set_real_ip_from 141.101.64.0/18; set_real_ip_from 162.158.0.0/15; set_real_ip_from 172.64.0.0/13; set_real_ip_from 173.245.48.0/20; set_real_ip_from 188.114.96.0/20; set_real_ip_from 190.93.240.0/20; set_real_ip_from 197.234.240.0/22; set_real_ip_from 198.41.128.0/17; set_real_ip_from 2400:cb00::/32; set_real_ip_from 2606:4700::/32; set_real_ip_from 2803:f800::/32; set_real_ip_from 2405:b500::/32; set_real_ip_from 2405:8100::/32; set_real_ip_from 2a06:98c0::/29; set_real_ip_from 2c0f:f248::/32; real_ip_header CF-Connecting-IP; real_ip_recursive on;
山本大意失仙人 : https://talk.plesk.com/threads/plesk-cloudflare-get-visitors-real-ip-without-extension.338725/ 希望帮得到你
hardwar: 多谢
Lish: https://support.plesk.com/hc/en-us/articles/360025828373