mirror of
https://github.com/nextcloud/docker.git
synced 2025-05-03 07:30:53 +02:00
Set Apache LimitRequestBody with env variable APACHE_BODY_LIMIT (#2065)
* feat: set apache LimitRequestBody Signed-off-by: adripo <26493496+adripo@users.noreply.github.com> * feat: APACHE_BODY_LIMIT variable Signed-off-by: adripo <26493496+adripo@users.noreply.github.com> * fix: move ENV to existing VARIANT_EXTRAS Signed-off-by: adripo <26493496+adripo@users.noreply.github.com> * docs: updated var description Signed-off-by: adripo <26493496+adripo@users.noreply.github.com> * fix: remove comment Signed-off-by: adripo <26493496+adripo@users.noreply.github.com> --------- Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>
This commit is contained in:
parent
4cd70385b8
commit
90064ed260
2 changed files with 5 additions and 1 deletions
|
@ -201,6 +201,10 @@ 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` [1GiB]) 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**. Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html#apache) for more information.
|
||||
|
||||
|
||||
## Auto configuration via hook folders
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue