> For the complete documentation index, see [llms.txt](https://waf-doc.inext.checkpoint.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://waf-doc.inext.checkpoint.com/troubleshooting/waf-as-a-service/how-to-extend-connection-timeout-to-upstream.md).

# How To: Extend Connection Timeout to Upstream

### Overview:

In CloudGuard WAF as a Service, the default connection timeout for both NGINX and CloudFront is set to 60 seconds. To extend the timeout for specific assets, adjust the settings in the asset's advanced options.

{% hint style="info" %}
Adjusting the NGINX timeout configuration will automatically update CloudFront's settings
{% endhint %}

### What To Do?

To configure the extended timeout for a specific asset, follow these steps:

1. Log in to the Infinity Portal.
2. Open the WAF application from the application menu.
3. Navigate to the **Assets** page under the **Policy** tab.
4. Select the desired asset.
5. Click on **Advanced...** proxy field to access the extended timeout configuration.
6. Click on **Advanced Settings**.
7. **Add the following fields** with the desired timeout configuration needed:

| Key                | Value                      |
| ------------------ | -------------------------- |
| Read Timeout       | Numeric Number (up to 180) |
| Proxy Send Timeout | Numeric Number (up to 180) |
| Keep Alive Timeout | Numeric Number (up to 180) |

8. Click **OK**
9. Click **Enforce**.

{% hint style="warning" %}
Extended Timeout configuration is supported up to 180 seconds. \
For longer timeouts, please contact Check Point Support.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://waf-doc.inext.checkpoint.com/troubleshooting/waf-as-a-service/how-to-extend-connection-timeout-to-upstream.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
