diff --git a/docs/install/configuration/environment-variables.mdx b/docs/install/configuration/environment-variables.mdx index 1f3e00d69a..b792d464fa 100644 --- a/docs/install/configuration/environment-variables.mdx +++ b/docs/install/configuration/environment-variables.mdx @@ -54,7 +54,7 @@ it will produce these values. | `AP_SANDBOX_PROPAGATED_ENV_VARS` | Environment variables that will be propagated to the sandboxed code. If you are using it for pieces, we strongly suggests keeping everything in the authentication object to make sure it works across AP instances. | `None` | | | `AP_TELEMETRY_ENABLED` | Collect telemetry information. | `true` | | | `AP_TEMPLATES_SOURCE_URL` | This is the endpoint we query for templates, remove it and templates will be removed from UI | `https://cloud.activepieces.com/api/v1/flow-templates` | | -| `AP_WEBHOOK_TIMEOUT_SECONDS` | The default timeout for webhooks. This option is not available on cloud because of cloudflare | `30` | | +| `AP_WEBHOOK_TIMEOUT_SECONDS` | The default timeout for webhooks. The maximum allowed is 15 minutes. Please note that Cloudflare limits it to 30 seconds. If you are using a reverse proxy for SSL, make sure it's configured correctly. | `30` | | | `AP_TRIGGER_FAILURE_THRESHOLD` | The maximum number of consecutive trigger failures is 576 by default, which is equivalent to approximately 2 days. | `30` | | `AP_PROJECT_RATE_LIMITER_ENABLED` | Enforce rate limits and prevent excessive usage by a single project. | `true` | | | `AP_MAX_CONCURRENT_JOBS_PER_PROJECT`| The maximum number of active runs a project can have. This is used to enforce rate limits and prevent excessive usage by a single project. | `100` | | diff --git a/nginx.react.conf b/nginx.react.conf index 1fc8434750..bf92b057f2 100644 --- a/nginx.react.conf +++ b/nginx.react.conf @@ -26,6 +26,8 @@ http { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; + proxy_read_timeout 900s; + proxy_send_timeout 900s; } location ~* ^/(?!api/).*.(css|js|jpg|jpeg|png|gif|ico|svg)$ { @@ -46,6 +48,8 @@ http { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; + proxy_read_timeout 900s; + proxy_send_timeout 900s; } } }