We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d791f8f + 630eb67 commit 95755eaCopy full SHA for 95755ea
gunicorn/gunicorn.py
@@ -2,3 +2,5 @@
2
3
bind = "0.0.0.0:8000"
4
workers = multiprocessing.cpu_count() * 2 + 1
5
+keepalive = 120
6
+timeout = 300
nginx/default.conf.template
@@ -18,5 +18,11 @@ server {
18
proxy_set_header Host $http_host;
19
proxy_set_header X-Real-IP $remote_addr;
20
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;
27
}
28
0 commit comments