Skip to content

Commit 95755ea

Browse files
authored
Merge pull request #17 from cmu-delphi/development
Merge latest from development and deploy to staging
2 parents d791f8f + 630eb67 commit 95755ea

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

gunicorn/gunicorn.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22

33
bind = "0.0.0.0:8000"
44
workers = multiprocessing.cpu_count() * 2 + 1
5+
keepalive = 120
6+
timeout = 300

nginx/default.conf.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,11 @@ server {
1818
proxy_set_header Host $http_host;
1919
proxy_set_header X-Real-IP $remote_addr;
2020
proxy_set_header X-Forwarded-Proto $scheme;
21+
proxy_read_timeout 300;
22+
proxy_connect_timeout 300;
23+
proxy_send_timeout 300;
24+
send_timeout 300;
25+
keepalive_timeout 300;
26+
client_max_body_size 64m;
2127
}
2228
}

0 commit comments

Comments
 (0)