Site administration
Match the upload limits to your Cloudflare plan
Cloudflare refuses a request over the request limit of your zone before Source sees it, so people get no message from Source. Keep the three upload limits of Source at or below the request limit of your plan.
2 min read
You need:
- To be a site admin.
- The plan of the Cloudflare zone of your site.
1. Find the request limit of your plan
The request limit depends on the plan of the zone:
| Plan | Request limit |
|---|---|
| Free | 100 MB |
| Pro | 100 MB |
| Business | 200 MB |
| Enterprise | The Maximum Upload Size on the Network page of the zone, up to 5 GB |
2. Set the three upload limits
Open Limits. Set Git push request limit, Largest LFS file and Largest asset file to that limit, or lower. Set the limits of the site has the steps.
Important
When the plan changes, do steps 1 and 2 again.
Done
Pushes and uploads now fit your Cloudflare plan. No deploy was needed.
Why a higher value does not help
A higher value does not let larger uploads through. Cloudflare refuses them with HTTP 413, before they reach Source. Git then shows an error like RPC failed; HTTP 413, with no message from Source.
For a push, people can use src repo push, which sends the push in parts under the limit: see Push a large repository. When Cloudflare refuses a part, src sends smaller parts.