make sure upstreams have longer keepalives
This commit is contained in:
parent
2f3551939c
commit
1e97726a66
|
@ -28,9 +28,9 @@ http {
|
|||
listen 8008 default_server;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
client_header_timeout 60;
|
||||
client_body_timeout 60;
|
||||
keepalive_timeout 60;
|
||||
client_header_timeout 90;
|
||||
client_body_timeout 90;
|
||||
keepalive_timeout 90;
|
||||
gzip on;
|
||||
gzip_comp_level 4;
|
||||
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"dev": "NODE_OPTIONS='--trace-warnings' next dev",
|
||||
"build": "next build",
|
||||
"migrate": "prisma migrate deploy",
|
||||
"start": "NODE_OPTIONS='--trace-warnings' next start -p $PORT --keepAliveTimeout 0"
|
||||
"start": "NODE_OPTIONS='--trace-warnings' next start -p $PORT --keepAliveTimeout 120"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.7.17",
|
||||
|
|
Loading…
Reference in New Issue