mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-20 02:46:10 +02:00
feat: APACHE_BODY_LIMIT variable
Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>
This commit is contained in:
parent
b11acf99c8
commit
c772510922
1 changed files with 7 additions and 0 deletions
|
@ -201,6 +201,13 @@ To customize other PHP limits you can simply change the following variables:
|
|||
- `PHP_MEMORY_LIMIT` (default `512M`) This sets the maximum amount of memory in bytes that a script is allowed to allocate. This is meant to help prevent poorly written scripts from eating up all available memory but it can prevent normal operation if set too tight.
|
||||
- `PHP_UPLOAD_LIMIT` (default `512M`) This sets the upload limit (`post_max_size` and `upload_max_filesize`) for big files. Note that you may have to change other limits depending on your client, webserver or operating system. Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html) for more information.
|
||||
|
||||
To customize Apache max file upload limit you can change the following variable:
|
||||
- `APACHE_BODY_LIMIT` (default `1073741824`) This restricts the total size of the HTTP request body sent from the client.
|
||||
It specifies the number of _bytes_ that are allowed in a request body. A value of **0** means **unlimited**.
|
||||
> Apache's default for LimitRequestBody changed from 0 (unlimited) to 1 GiB in v2.4.53 which was released on June 08, 2022. This is becoming a more widely deployed version (e.g. Debian 12 currently ships with v2.4.57 and Ubuntu kinentic/22.10 ships with v2.4.54) \
|
||||
see: https://github.com/nextcloud/documentation/pull/10989
|
||||
|
||||
|
||||
|
||||
## Auto configuration via hook folders
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue