i think i not use cloudflare for reverse proxy similar to nginx. it doesn't seem like this is a common use case. If I got stuck at a showstopper bug, I would immediately scrap using cloudflare for this purpose. I think 99% of people use cloudflare as simple CDN and forcing it to use PHP app is not good idea... hmm