From a5afd88a5e6bdef9be6ca218722326ae8e737f97 Mon Sep 17 00:00:00 2001 From: Melvin Strobl Date: Wed, 14 Oct 2026 08:14:19 +0200 Subject: [PATCH] LAN proxy: no 1 MB upload cap --- docker/nginx-api-proxy.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/nginx-api-proxy.conf b/docker/nginx-api-proxy.conf index 1e0cd10..1c36445 100644 --- a/docker/nginx-api-proxy.conf +++ b/docker/nginx-api-proxy.conf @@ -24,6 +24,10 @@ location /api { proxy_set_header Connection $http_connection; # A live socket outlives the 60s default by design. proxy_read_timeout 1d; + # nginx's 1 MB default would 413 any larger artifact upload; the backend + # enforces MAX_ARTIFACT_BYTES itself, so the body streams through as is. + client_max_body_size 0; + proxy_request_buffering off; } # Unchanged from the stub: the API docs stay off the frontend's origin.