From 2d354a35c17c51ab620b61fcb5222279f57872ff Mon Sep 17 00:00:00 2001 From: Zaldimmar Date: Sat, 21 Nov 2026 16:57:32 -0600 Subject: [PATCH] Docs: an nginx /api/admin/ block with a 4m body limit, so big saves don't get a 413 Co-Authored-By: Claude Opus 5.5 --- docs/seo.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/seo.md b/docs/seo.md index 9b9cf26..84770f6 100644 --- a/docs/seo.md +++ b/docs/seo.md @@ -111,6 +111,18 @@ with it off it blocks everything. client_max_body_size 26m; proxy_read_timeout 60s; } + + # The admin's saves send a record whole (every content block, + # schedule entry and sub-item), well over 64k for a big page or + # event: nginx answers 413 "Too large for the web server" without + # this. A longer prefix than /api/, so it wins; the exact and + # longer admin blocks (media, files, import, clips) still win over + # it. Same proxy_set_header lines as /api/. + location /api/admin/ { + proxy_pass http://127.0.0.1:3001; + client_max_body_size 4m; + proxy_read_timeout 30s; + } ``` Keep the existing `/api/` and `/uploads/` blocks; they're more