Skip to content

Commit

Permalink
Merge pull request #18 from gohilankit/release-0.2-cherry-picks
Browse files Browse the repository at this point in the history
Increase default nginx timeout to 300s
  • Loading branch information
gohilankit authored May 16, 2023
2 parents 2ba8a9f + 023028b commit d1a5729
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/basic-auth/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ http {
proxy_pass http://localhost:8100;
proxy_set_header Host $host;
proxy_buffering on;

proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
}

#Since /waitforjob is supposed to be a blocking API call, set a long timeout of 1d
Expand Down
4 changes: 4 additions & 0 deletions deploy/oauth2/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ http {
proxy_pass http://localhost:8100;
proxy_set_header Host $host;
proxy_buffering on;

proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
}

#Since /waitforjob is supposed to be a blocking API call, set a long timeout of 1d
Expand Down

0 comments on commit d1a5729

Please sign in to comment.