"ip": "8.218.223.13",
"headers": {
"x-forwarded-for": "8.218.223.13, 172.71.214.31",
"x-real-ip": "172.71.214.31",
"connection": "upgrade",
"x-forwarded-proto": "https",
"cdn-loop": "cloudflare",
"cf-ipcountry": "HK",
"accept-encoding": "gzip, br",
"cf-ray": "8ad970a5390c044d-HKG",
"cf-visitor": "{"scheme":"https"}",
"cf-connecting-ip": "8.218.223.13",
}[/ol]复制代码
demo中:cf-connecting-ip为优选ip x-real-ip 为cf访问源站的ip
至于真正的请求发起者ip 是获取不到的吗?