From 497f7743f2ca6ea1ca283caceb9c39af362694ef Mon Sep 17 00:00:00 2001 From: zwitschi Date: Tue, 4 Aug 2026 20:35:24 +0200 Subject: [PATCH] fix: increase nginx client_max_body_size for resumable admin uploads --- CHANGELOG.md | 1 + infrastructure/nginx/nginx.conf | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55e5988..2210d9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ - Updated media listing to read from the media table and return duration metadata with HH:MM:SS runtime formatting. - Removed Tailwind and Alpine runtime/build dependencies from the frontend package configuration and eliminated Tailwind directives/warnings during production build. - Enforced 2GB upload ceiling plus server-side media file type/size validation for admin uploads. +- Increased nginx `client_max_body_size` to allow resumable admin upload chunks and prevent `413 Content Too Large` responses. ## [1.0.3] - 2026-08-03 diff --git a/infrastructure/nginx/nginx.conf b/infrastructure/nginx/nginx.conf index 606b2f6..74a8714 100644 --- a/infrastructure/nginx/nginx.conf +++ b/infrastructure/nginx/nginx.conf @@ -24,6 +24,9 @@ http { listen 80 default_server; server_name linearvoid.tv localhost 127.0.0.1; + # Resumable admin upload chunks are 8MB by default; allow safe headroom. + client_max_body_size 64m; + root /srv/frontend; index index.html;