LAN proxy: no 1 MB upload cap

This commit is contained in:
Melvin Strobl
2026-10-14 08:14:19 +02:00
parent 0264310d4f
commit a5afd88a5e
+4
View File
@@ -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.