Skip to content

Commit 9fc99f5

Browse files
authored
Merge pull request #7309 from umbraco/v16/cms/maxrequestlength-backoffice
V16 CMS: Tell the developer to set `MaxRequestLength` regardless of hosting platform
2 parents 106c55c + ad8f926 commit 9fc99f5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

16/umbraco-cms/reference/configuration/maximumuploadsizesettings.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Learn how to change the upload size limit for your Umbraco site depending on you
1212

1313
By default, Umbraco does not restrict upload size. The limits are controlled by the hosting platform.
1414

15+
{% hint style="info" %}
16+
It is advisable that you tell Umbraco what the maximum upload size is by setting the `Umbraco:CMS:Runtime:MaxRequestLength` in the `appsettings.json` file. The Backoffice will use this value to help guide the users.
17+
{% endhint %}
18+
1519
## Using IIS
1620

1721
The default upload limit in IIS is 30000000 bytes (~28.6 MB). The maximum value allowed is 4 GB.

16/umbraco-cms/reference/configuration/runtimesettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ An example of a configuration could look something like:
2424
}
2525
```
2626

27-
- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files. This only has an effect when hosting with Kestrel. See the [Maximum Upload Size Settings
27+
- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files. This only has an effect on the server when hosting with Kestrel, but is also used by the Backoffice to advise users. See the [Maximum Upload Size Settings
2828
](./maximumuploadsizesettings.md) article for more information.
2929
- `Mode` can have three values: `BackofficeDevelopment` (default), `Development`, and `Production`. For more information, see the [Runtime modes](../../fundamentals/setup/server-setup/runtime-modes.md) article.
3030
- `TemporaryFileLifeTime` is specified as a timespan. The default value is one day - `1.00:00:00`.

0 commit comments

Comments
 (0)