Skip to content

Commit

Permalink
Add timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhou authored Jan 27, 2022
1 parent 6e0ca36 commit 8735b60
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nginx/conf.d-prod/portal-ui.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ server {
# gzip_http_version sets the minimum HTTP version of a request required to compress a response to 1.1 by default.
# proxy_http_version needs to be >= that, but is 1.0 by default.
proxy_http_version 1.1;

# Due to cells-api slowness
# Increase timeout to 10 minutes until a real solution is ready
proxy_connect_timeout 600;
keepalive_timeout 600 600;
proxy_read_timeout 600;
proxy_send_timeout 600;
}

}
Expand Down

0 comments on commit 8735b60

Please sign in to comment.