Our web server can serve a PDF file saved in a temp directory when we are not proxying the domain’s dns through Cloudflare.
When we do proxy the domain’s dns through cloudflare, we receive a network error and cannot see the PDF file in the browser.
Our web server is hosted in AWS, behind an application load balancer.
If we remove the load balancer, and point the domain directly to the EC2 instance, the PDF can be served.
But if we use the load balancer, we can only access the PDF when we do not proxy the domain through cloudflare.
Any ideas?