Raise report upload request size limits

- Configure NestJS with an explicit JSON and urlencoded body parser limit controlled by API_BODY_LIMIT.

- Set the default API body limit to 100mb for report HTML, key frames, template images, and Data URL file uploads.

- Add a matching Nginx client_max_body_size 100m limit so Docker web proxy no longer rejects large report saves first.

- Document the new request body limit in README, deployment docs, progress notes, environment example, and AGENTS context.

- Rebuild and verify Docker web/api with a large report save through the Nginx /api proxy.
This commit is contained in:
2026-05-02 03:29:46 +08:00
parent 285dbd2023
commit 2a86d9f5e4
8 changed files with 16 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ map $http_upgrade $connection_upgrade {
server {
listen 80;
server_name localhost;
client_max_body_size 100m;
root /usr/share/nginx/html;
index index.html;