diff --git a/src/nginxconfig.ejs b/src/nginxconfig.ejs index e25f3ee06..0e963c0fb 100644 --- a/src/nginxconfig.ejs +++ b/src/nginxconfig.ejs @@ -227,6 +227,7 @@ server { location ~ ^/api/v1/apps$ { proxy_pass http://127.0.0.1:3000; client_max_body_size 0; + proxy_request_buffering off; } # the read timeout is between successive reads and not the whole connection @@ -238,21 +239,25 @@ server { location ~ ^/api/v1/apps/.*/upload$ { proxy_pass http://127.0.0.1:3000; client_max_body_size 0; + proxy_request_buffering off; } location ~ ^/api/v1/apps/.*/files/ { proxy_pass http://127.0.0.1:3000; client_max_body_size 0; + proxy_request_buffering off; } location ~ ^/api/v1/volumes/.*/files/ { proxy_pass http://127.0.0.1:3000; client_max_body_size 0; + proxy_request_buffering off; } location ~ ^/api/v1/profile/background_image { proxy_pass http://127.0.0.1:3000; client_max_body_size 0; + proxy_request_buffering off; } location ~ ^/openid/ {