reverseproxy: for large payloads, turn off proxy buffering

This commit is contained in:
Girish Ramakrishnan
2026-02-20 09:59:21 +01:00
parent 38a187e9fc
commit 0daabdc21c
+5
View File
@@ -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/ {