Skip to content

Commit ac699a6

Browse files
authored
Merge pull request #692 from notch8/increase_proxy_nginx_timeout
Increase proxy connect, send, and read timeouts for nginx
2 parents 704cbd4 + f5e35fb commit ac699a6

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

ops/friends-deploy.tmpl.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,9 @@ nginx:
637637
proxy_set_header Upgrade ${DOLLAR}http_upgrade;
638638
proxy_set_header Connection ${DOLLAR}connection_upgrade;
639639
proxy_redirect off;
640+
proxy_connect_timeout 3600s;
641+
proxy_send_timeout 3600s;
642+
proxy_read_timeout 3600s;
640643
proxy_pass http://rails_app;
641644
}
642645
}

ops/production-deploy.tmpl.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,9 @@ nginx:
619619
proxy_set_header Upgrade ${DOLLAR}http_upgrade;
620620
proxy_set_header Connection ${DOLLAR}connection_upgrade;
621621
proxy_redirect off;
622+
proxy_connect_timeout 3600s;
623+
proxy_send_timeout 3600s;
624+
proxy_read_timeout 3600s;
622625
proxy_pass http://rails_app;
623626
}
624627
}

0 commit comments

Comments
 (0)