diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index cba0fb903..88fa14cbc 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -254,8 +254,7 @@ export WEBHOOK_TUNNEL_URL=https://n8n.example.com/ ## Prometheus -In order to collect and expose metrics, n8n uses the -[prom-client](https://www.npmjs.com/package/prom-client) library. +In order to collect and expose metrics, n8n uses the [prom-client](https://www.npmjs.com/package/prom-client) library. The `/metrics` endpoint is disabled by default, but it is possible to enable it using the `N8N_METRICS` environment variable. @@ -280,6 +279,15 @@ It is also possible to set default values for credentials. These credentials get export CREDENTIALS_OVERWRITE_DATA={CREDENTIAL_NAME:{ PARAMATER: Value }} ``` +## Maximum payload limit + +The default maximum incoming payload limit is **16MB**. To increase the maximum payload limit use, the following format. + +```bash +export N8N_PAYLOAD_SIZE_MAX=VALUE +``` + +The value is in MB. For example, if you want to set the limit to 32MB, use `N8N_PAYLOAD_SIZE_MAX=32`. ## Configuration via file