How to Disable Caching, Rate Limits, any Restrictions for PHP Files in free accoun?

What is the name of the domain?

frontend.aviotix.eu

What is the error number?

413 (Content Too Large)

What is the error message?

POST https://frontend.aviotix.eu/upload_dataset.php?1746032413162 413 (Content Too Large) (anonymous) @ upload_dataset.php:88 VM4047:1 Uncaught SyntaxError: Unexpected token ‘<’, “ <h”… is not valid JSON at JSON.parse () at XMLHttpRequest. (upload_dataset.php:49:39) (anonymous) @ upload_dataset.php:49 XMLHttpRequest.send (anonymous) @ upload_dataset.php:88

What is the issue you’re encountering

I’m experiencing issues with file uploads and access to PHP scripts on my site hosted with Cloudflare. I’m hitting rate limits, getting 403 errors, and encountering file upload restrictions. Disabling Cloudflare proxy helps, but I need a solution.

What steps have you taken to resolve the issue?

When I disable the Cloudflare proxy, everything works perfectly, but I’m encountering issues with file uploads, rate limits, and 403 errors when it’s enabled. I need a solution to keep Cloudflare active without these restrictions.

What are the steps to reproduce the issue?

To reproduce the issue, enable the “Proxied” mode in Cloudflare DNS settings for your domain, then test file uploads or site access. If it fails, disable proxy and test again.

Screenshot of the error

Uploads are limited to:
100MB for Free and Pro
200MB for Business
500MB for Enterprise

Only Enterprise users can request an increase.

You can work round it by sending uploads to a DNS record (maybe upload) that is set to “DNS only”, this will bypass Cloudflare. Or you can change the uploading process to use chunking to stay under the limits.

3 Likes