make sure upstreams have longer keepalives

This commit is contained in:
keyan 2023-08-02 11:36:23 -05:00
parent 2f3551939c
commit 1e97726a66
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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",