CF Pages Bug: Jekyll (404.html) + Apps = 404 cdn-cgi

Cloudflare /cdn-cgi/ path serves a 404 Not Found in Cloud Flare Pages based on Jekyll that have a 404.html.

Known Issues

  • No direct support for running routes or redirects in Pages (however, if your project contains a 404.html file, that’s served first. If not, then your /index.html file is served)

It seems possible that the rewrite rules for the static 404 are not excluding /cdn-cgi/