sn00py1310
sn00py1310
CDCloudflare Developers
Created by sn00py1310 on 4/30/2025 in #workers-help
Requests to none Cloudflare sites with path /cdn-cgi/ fail
A worker which requests content from another site can't access paths starting with /cdn-cgi/ because Cloudflare handles these. Is there any documentation for this problem and why does Cloudflare even handle these requests? Example Worker
export default {
async fetch(request, env, ctx) {
return fetch("https://myip.wtf/cdn-cgi/trace");
},
};
export default {
async fetch(request, env, ctx) {
return fetch("https://myip.wtf/cdn-cgi/trace");
},
};
Expected output
No such *** page!
No such *** page!
Actual output
fl=537f256
h=myip.wtf
ip=2a06:98c0:3600::103
ts=1746039523.85
visit_scheme=https
uag=
colo=*****
sliver=none
http=http/1.1
loc=*****
tls=off
sni=off
warp=off
gateway=off
rbi=off
kex=none
fl=537f256
h=myip.wtf
ip=2a06:98c0:3600::103
ts=1746039523.85
visit_scheme=https
uag=
colo=*****
sliver=none
http=http/1.1
loc=*****
tls=off
sni=off
warp=off
gateway=off
rbi=off
kex=none
8 replies