Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 14/umbraco-cms/reference/configuration/runtimesettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ An example of a configuration could look something like:
}
```

- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files.
- `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
](./maximumuploadsizesettings.md) article for more information).
- `MaxQueryStringLength` is specified in number of characters. Setting this limits the maximum query string length.
- `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.
- `TemporaryFileLifeTime` is specified as a timespan. The default value is one day - `1.00:00:00`.
3 changes: 2 additions & 1 deletion 15/umbraco-cms/reference/configuration/runtimesettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ An example of a configuration could look something like:
}
```

- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files.
- `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
](./maximumuploadsizesettings.md) article for more information).
- `MaxQueryStringLength` is specified in number of characters. Setting this limits the maximum query string length.
- `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.
- `TemporaryFileLifeTime` is specified as a timespan. The default value is one day - `1.00:00:00`.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,14 @@ To customize this limit, adjust the `maxAllowedContentLength` value in your `web

## Using Kestrel

Kestrel’s runtime settings allow you to configure `MaxRequestLength` and `MaxQueryStringLength`. If you want to upload files larger than 28.6MB, update these values in the `appsettings.json` file.
Kestrel’s runtime settings allow you to configure `MaxRequestLength`. If you want to upload files larger than 28.6MB, update this value in the `appsettings.json` file.

Example configuration:

```json
"Umbraco": {
"CMS": {
"Runtime": {
"MaxQueryStringLength": 90,
"MaxRequestLength": 2000
}
}
Expand All @@ -67,7 +66,13 @@ Example configuration:
- `MaxRequestLength` is specified in kilobytes. For example:
- 2000 KB = 2 MB
- 100000 KB = 100 MB
- `MaxQueryStringLength` sets the maximum number of characters in the query string.

You can check the current configuration by inspecting the "System information" output in the Backoffice. You can access it by clicking the logo and then "System information":

<figure>
<img src="images/systeminformation-tempfileconfig.jpg" alt="System Information with Maximum Upload Size Settings">
<caption>System Information with "Max allowed file size" Settings</caption>
</figure>

## External Server Configurations

Expand Down
5 changes: 2 additions & 3 deletions 16/umbraco-cms/reference/configuration/runtimesettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ An example of a configuration could look something like:
"Umbraco": {
"CMS": {
"Runtime": {
"MaxQueryStringLength": 90,
"MaxRequestLength": 2048,
"Mode": "BackofficeDevelopment",
"TemporaryFileLifeTime": "1.00:00:00"
Expand All @@ -25,7 +24,7 @@ An example of a configuration could look something like:
}
```

- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files.
- `MaxQueryStringLength` is specified in number of characters. Setting this limits the maximum query string length.
- `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
](./maximumuploadsizesettings.md) article for more information).
- `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.
- `TemporaryFileLifeTime` is specified as a timespan. The default value is one day - `1.00:00:00`.