The maximum upload size refers to the largest amount of data that can be uploaded in a single client request. If the uploaded data exceeds the set upper limit, EdgeOne will respond to the client with a 413 (Request Entity Too Large) status.
Note:
1. Only the EdgeOne Enterprise and Standard plans support the disabling of upload size limits.
2. By default, the maximum upload size limit is enabled, with an upper limit of 800MB.
Use Cases
1. Large File Upload: For businesses involving large file uploads, such as online video platforms, large game distribution, big data analysis, etc., you can increase the upper limit of the upload size or directly disable the size limit, allowing your large files to be uploaded without hindrance.
2. Defending Against Malicious Uploads: For businesses with frequent user interactions, such as social media, forums, or blogs, there may be instances of malicious users uploading excessively large files. You can enable size restrictions and lower the upper limit to prevent oversized files from being uploaded to the source station, thereby reducing the pressure on the source station, preventing potential security risks, and enhancing the user experience.
3. Conserving Data Transfer: For businesses sensitive to data usage, such as online education, virtual meetings, or API services, you may wish to conserve data by limiting the size of uploaded files. You can enable size restrictions and adjust the upper limit to a smaller value, reducing unnecessary data transfer and lowering data costs.
You can flexibly configure the "Maximum Upload Size" to meet the needs of various business scenarios.
Instructions
Scenario 1: Configuring the maximum upload size for all domain names of a site
To configure the same maximum upload size for all domain names used to access a site, or as a fallback configuration at the site level, refer to the following steps:
1. Log in to the EdgeOne console. In the left sidebar, click Site List. Within the site list, click the site that needs to be configured to enter the site details page.
2. On the site details page, select Site Acceleration > Network Optimization to navigate to the Network Optimization details page.
3. Locate the Maximum Upload Size configuration card and click on Global Site Settings.
4. Within the pop-up window, check the box to enable the size limit and modify the upper limit value. The changes will take effect immediately after clicking Save.
Scenario 2: Configuring the maximum upload size for specific request granularities such as domain names, paths, or file extensions.
If you need to configure different maximum upload sizes for different domains, paths, or file extensions, for example, setting a maximum upload size of 20 MB for the domain www.example.com under the example.com site, you can follow the steps below:
1. Log in to the EdgeOne console. In the left sidebar, click Site List. Within the site list, click the site that needs to be configured to enter the site details page.
2. On the site details page, click Rule Engine.
3. On the rule engine management page, click Create rule to access the new rule editing page.
4. On the rule editing page, enter the rule name, select Host as the matching type, and configure it as www.example.com.
5. Click on Action, in the pop-up action list, select Maximum Upload Size as the operation, click on
to enable the size limit, and configure the upper limit to 20 MB.
6. Click Save and publish to complete the rule configuration.