feat: Configurable api server timeout on embedded nginx (#24471)
## Description - The default request timeout on nginx is set to 60s. This feat allows users to configure custom nginx timeout value specified via the Environment variable `APPSMITH_SERVER_TIMEOUT` - Solves https://github.com/appsmithorg/appsmith/issues/14535 ## Testing #### How Has This Been Tested? - [x] Manual - [ ] Jest - [ ] Cypress --------- Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
This commit is contained in:
parent
6e9e974cac
commit
16d21ed1a3
|
|
@ -85,6 +85,8 @@ server {
|
|||
}
|
||||
|
||||
location /api {
|
||||
proxy_read_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
|
||||
proxy_send_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
|
||||
proxy_pass http://localhost:8080;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -102,6 +102,8 @@ server {
|
|||
}
|
||||
|
||||
location /api {
|
||||
proxy_read_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
|
||||
proxy_send_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
|
||||
proxy_pass http://localhost:8080;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user