Will the request HIT origin servers in the URL Path of /cdn-cgi/

Hey, I have this doubt that will any of the request will hit the origin server for these kinds of URL which are in the /cdn-cgi/ folder?

https://example.com/cdn-cgi/apps/head/MKrMTaASD1iT6YJ-OPW0345fKQc.js
https://example.com/cdn-cgi/*

If you :orange:, no. Cloudflare will handle the requests.

4 Likes

Thanks for the answer.

1 Like

Also, certain /cdn-cgi endpoints are reserved and served from Cloudflare directly, e.g. /cdn-cgi/trace.

We regularly get questions about ‘Why isnt my (SECURITY HEADER CONFIGURATION) being set for the /cdn-cgi/… endpoint?’. Its because we serve it directly from CF, it never hits the origin.

HTH.

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.