embesozzi opened a new issue, #12268:
URL: https://github.com/apache/apisix/issues/12268
### Current Behavior
The default timeout is set to 1 minute, and I would like to override it.
I’ve tried several ways, but it’s not working
1) At route level is not working:
```
- uri: "/api"
upstream:
nodes:
"host.docker.internal:xxxxx": 1
timeout:
connect: 300000
read: 300000
send: 300000
```
2) At proxy configuration level is not working
```
nginx_config:
http_configuration_snippet: |
proxy_connect_timeout 300s;
proxy_read_timeout 300s;
proxy_send_timeout 300s;
```
There is a setting in nginx.conf that I can't override — or perhaps I just
don't know how to.
```
http {
keepalive_timeout 60s;
client_header_timeout 60s;
client_body_timeout 60s;
}
```
I tried this configuration but it's not working:
```
nginx_config:
http_configuration_snippet: |
client_body_timeout: 300s;
client_header_timeout: 300s;
keepalive_timeout: 300s;
```
Is there a way to extend the 60-second timeout or override that setting?
### Expected Behavior
I want to avoid getting a 504 Gateway Timeout after 1 minute.
### Error Logs
At the browser level, the timeout occurs at 1 minute.

### Steps to Reproduce
See section Current Behavior
### Environment
`
image: apache/apisix:3.12.0-debian
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]