Skip to content

Commit

Permalink
feat: api server timout config
Browse files Browse the repository at this point in the history
  • Loading branch information
sum35h committed Jun 14, 2023
1 parent 9f3c24d commit 13e1329
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/docker/templates/nginx/nginx-app-http.conf.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ server {
}
location /api {
proxy_read_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
proxy_connect_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
proxy_send_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
proxy_pass http://localhost:8080;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ server {
}
location /api {
proxy_read_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
proxy_connect_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
proxy_send_timeout ${APPSMITH_SERVER_TIMEOUT:-60};
proxy_pass http://localhost:8080;
}
Expand Down

0 comments on commit 13e1329

Please sign in to comment.