Skip to content

Commit

Permalink
fix(router): Increased connect timeout
Browse files Browse the repository at this point in the history
Heroku terminates requests after 30 seconds and the nginx default is 60
seconds
  • Loading branch information
johanneswuerbach committed Nov 9, 2014
1 parent 1cb0655 commit 83afc3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions router/templates/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ http {
server {
server_name ~^deis-store\.(?<domain>.+)$;
include deis.conf;

client_max_body_size 0;

location / {
Expand Down Expand Up @@ -112,7 +112,7 @@ http {
{{ end }}
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_connect_timeout 10s;
proxy_connect_timeout 30s;
proxy_send_timeout 1200s;
proxy_read_timeout 1200s;
proxy_http_version 1.1;
Expand Down

0 comments on commit 83afc3f

Please sign in to comment.