Skip to content

Commit

Permalink
feat: APACHE_BODY_LIMIT variable
Browse files Browse the repository at this point in the history
  • Loading branch information
adripo committed Sep 13, 2023
1 parent e67c86e commit 32dd8b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 32dd8b1

Please sign in to comment.