Hi,
I am currently trying to get Cloudflare cache to stop stripping and/or pass the headers to my AWS S3 bucket. I have an app that crops an image that’s uploaded to the S3 bucket. When using Cloudflare, since the headers get stripped and not passed, there is a CORS issue.I have already confirmed the headers I need are set with both my app’s origin as well as the S3 bucket origin. And I am able to get this working correctly when using Amazon’s CloudFront. As I can whitelist those headers as shown in the attached image.
How would I be able to do something like this with Cloudflare in order to prevent the CORS issue? I have already reached out to CF support, but they keep claiming I need the headers set at the origin, which I already do. Any tips would be most appreciated. Thanks!